package com.czg.account.dto.shopinfo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Data
public class ShopInfoAddDTO {
    @NotEmpty(message = "店铺名称不为空")
    private String shopName;
    @NotEmpty(message = "店铺类型不为空")
    private String shopType;
    private String chainName;
    @NotEmpty(message = "店铺logo不为空")
    private String logo;
//    @NotEmpty(message = "门头照不为空")
    private String frontImg;
    @NotEmpty(message = "试用/正式不为空")
    private String profiles;
    /**
     * 激活时长
     */
    private Integer activateDuration;
    /**
     * 激活费用
     */
    private BigDecimal activateAmount;
    @NotEmpty(message = "登录账号不为空")
    private String accountName;
    @NotEmpty(message = "登录密码不为空")
    private String accountPwd;
    @NotEmpty(message = "经度不为空")
    private String lat;
    @NotEmpty(message = "纬度不为空")
    private String lng;
    @NotNull(message = "状态不为空")
    private String detail;
//    @NotNull(message = "角色id不为空")
    private Long roleId;
    private String phone;
    /**
     * 店铺注册类型
     * 先付 before
     * 后付 after
     */
    private String registerType;
    private String cities;
    private String districts;
    private String provinces;
    private String address;
    /**
     * 是否为主店
     */
    private Integer isHeadShop;
    /**
     * 主店id
     */
    private Long mainId;
}
