xiaoyong931011
2020-07-01 1cbdc671b70c979d9e9944ff4d859fac91c9518d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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;
    
}