package com.ydtech.modules.admin.model.dto; import com.ydtech.modules.esm.model.vo.EsmUserImageVo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import java.util.List; @Data @ApiModel("个代认证DTO") public class AgentAuthDto { @NotBlank(message = "用户id为空") @ApiModelProperty(value = "用户id",required = true) private String userId; @NotBlank(message = "姓名不能为空") @ApiModelProperty(value = "姓名",required = true) private String name; @NotBlank(message = "手机号不能为空") @ApiModelProperty(value = "手机号") private String mobile; @NotBlank(message = "身份证号不能为空") @ApiModelProperty(value = "身份证") private String identity; @NotBlank(message = "身份证有效期不能为空") @ApiModelProperty(value = "身份证有效期") private String identityTime; @NotBlank(message = "开户账号不能为空") @ApiModelProperty(value = "开户账号") private String bankName; @NotBlank(message = "开户行不能为空") @ApiModelProperty(value = "开户行") private String accountno; @ApiModelProperty("影像信息") private List esmUserImageVo; }