package com.xcong.excoin.modules.member.parameter.dto;
|
|
import javax.validation.constraints.NotNull;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
@Data
|
@ApiModel(value = "MemberAuthenticationDto", description = "实名认证参数接收类")
|
public class MemberAuthenticationDto {
|
|
@NotNull(message = "姓不能为空")
|
@ApiModelProperty(value = "姓", example = "姓")
|
private String firstName;
|
|
@NotNull(message = "名不能为空")
|
@ApiModelProperty(value = "名", example = "名")
|
private String secondName;
|
|
@NotNull(message = "真实姓名不能为空")
|
@ApiModelProperty(value = "真实姓名", example = "姓名")
|
private String realName;
|
|
@NotNull(message = "身份证卡号不能为空")
|
@ApiModelProperty(value = "身份证卡号", example = "123456789")
|
private String idCardNo;
|
|
@NotNull(message = "身份证正面不能为空")
|
@ApiModelProperty(value = "身份证正面", example = "身份证正面")
|
private String idCardFront;
|
|
@NotNull(message = "身份证反面不能为空")
|
@ApiModelProperty(value = "身份证反面", example = "身份证反面")
|
private String idCardReverse;
|
|
@NotNull(message = "手持身份证不能为空")
|
@ApiModelProperty(value = "手持身份证", example = "手持身份证")
|
private String idCardImage;
|
|
@NotNull(message = "国家不能为空")
|
@ApiModelProperty(value = "国家", example = "国家")
|
private String nation;
|
|
@NotNull(message = "类型不能为空")
|
@ApiModelProperty(value = "类型1:身份证2:护照编号", example = "1")
|
private String type;
|
|
}
|