package com.doumee.dao.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Size;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* 门店后台修改请求
|
*
|
* @author rk
|
* @date 2026/04/10
|
*/
|
@Data
|
@ApiModel("门店后台修改请求")
|
public class ShopUpdateDTO implements Serializable {
|
|
@ApiModelProperty(value = "门店主键", required = true)
|
@NotNull(message = "门店主键不能为空")
|
private Integer id;
|
|
@ApiModelProperty(value = "注册手机号", required = true)
|
@NotBlank(message = "注册手机号不能为空")
|
private String telephone;
|
|
@ApiModelProperty(value = "门店名称", required = true)
|
@NotBlank(message = "门店名称不能为空")
|
private String name;
|
|
@ApiModelProperty(value = "联系人", required = true)
|
@NotBlank(message = "联系人不能为空")
|
private String linkName;
|
|
@ApiModelProperty(value = "联系电话", required = true)
|
@NotBlank(message = "联系电话不能为空")
|
private String linkPhone;
|
|
@ApiModelProperty(value = "身份证号码", required = true)
|
@NotBlank(message = "身份证号码不能为空")
|
private String idcard;
|
|
@ApiModelProperty(value = "所在区划", required = true, example = "1")
|
@NotNull(message = "所在区划不能为空")
|
private Integer areaId;
|
|
@ApiModelProperty(value = "门店地址", required = true)
|
@NotBlank(message = "门店地址不能为空")
|
private String address;
|
|
@ApiModelProperty(value = "经度", required = true)
|
@NotNull(message = "经度不能为空")
|
private Double longitude;
|
|
@ApiModelProperty(value = "纬度", required = true)
|
@NotNull(message = "纬度不能为空")
|
private Double latitude;
|
|
@ApiModelProperty(value = "企业类型:0=个人;1=企业", required = true, example = "0")
|
@NotNull(message = "企业类型不能为空")
|
private Integer companyType;
|
|
// ========== 企业类信息 ==========
|
|
@ApiModelProperty(value = "法人姓名(企业类型必填)")
|
private String legalPersonName;
|
|
@ApiModelProperty(value = "法人手机号(企业类型必填)")
|
private String legalPersonPhone;
|
|
@ApiModelProperty(value = "法人身份证号码(企业类型必填)")
|
private String legalPersonCard;
|
|
@ApiModelProperty(value = "身份证正面照/法人身份证正面", required = true)
|
@NotBlank(message = "身份证正面照不能为空")
|
private String idcardImg;
|
|
@ApiModelProperty(value = "身份证反面照/法人身份证反面", required = true)
|
@NotBlank(message = "身份证反面照不能为空")
|
private String idcardImgBack;
|
|
@ApiModelProperty(value = "营业执照(企业类型必填)")
|
private String businessImg;
|
|
// ========== 图片列表 ==========
|
|
@ApiModelProperty(value = "门头照(最多3张)", required = true)
|
@NotNull(message = "门头照不能为空")
|
@Size(min = 1, max = 3, message = "门头照1-3张")
|
private List<String> storeFrontImgs;
|
|
@ApiModelProperty(value = "门店内部照片(最多3张)", required = true)
|
@NotNull(message = "门店内部照片不能为空")
|
@Size(min = 1, max = 3, message = "门店内部照片1-3张")
|
private List<String> storeInteriorImgs;
|
|
@ApiModelProperty(value = "其他材料(最多3张)")
|
@Size(max = 3, message = "其他材料最多3张")
|
private List<String> otherMaterialImgs;
|
|
@ApiModelProperty(value = "有效劳动合同(个人类型必填,最多3张)")
|
@Size(max = 3, message = "有效劳动合同最多3张")
|
private List<String> laborContractImgs;
|
|
@ApiModelProperty(value = "社保缴纳证明(个人类型必填,最多3张)")
|
@Size(max = 3, message = "社保缴纳证明最多3张")
|
private List<String> socialSecurityImgs;
|
|
}
|