MrShi
2 天以前 7ee466ebc953bb5640bcf42f2b8e2a87aa471c21
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.doumee.dao.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * 司机实名认证请求类
 * @author rk
 * @date 2026/04/08
 */
@Data
@ApiModel("司机实名认证请求类")
public class DriverVerifyRequest implements Serializable {
 
    @NotEmpty(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名", required = true)
    private String name;
 
    @NotEmpty(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号码", required = true)
    private String idcard;
 
    @NotNull(message = "婚姻状态不能为空")
    @ApiModelProperty(value = "婚姻状态:0=未婚;1=已婚;2=离异;3=丧偶", required = true, example = "0")
    private Integer maritalStatus;
 
    @ApiModelProperty(value = "区划主键", example = "1")
    private Integer areaId;
 
    @NotEmpty(message = "居住地址不能为空")
    @ApiModelProperty(value = "居住地址", required = true)
    private String livePlace;
 
    @NotEmpty(message = "车牌号不能为空")
    @ApiModelProperty(value = "车牌号", required = true)
    private String carCode;
 
    @NotNull(message = "车辆类型不能为空")
    @ApiModelProperty(value = "车辆类型(关联category type=1)", required = true, example = "1")
    private Integer carType;
 
    @ApiModelProperty(value = "车辆颜色")
    private String carColor;
 
    @ApiModelProperty(value = "驾驶证有效期开始时间")
    private Date cardStartDate;
 
    @ApiModelProperty(value = "驾驶证有效期结束时间")
    private Date cardEndDate;
 
    @NotEmpty(message = "身份证正面照不能为空")
    @ApiModelProperty(value = "身份证正面照", required = true)
    private String idcardImg;
 
    @NotEmpty(message = "身份证反面照不能为空")
    @ApiModelProperty(value = "身份证反面照", required = true)
    private String idcardImgBack;
 
    @ApiModelProperty(value = "车辆照片(最多3张,mutifile objType=6)")
    private List<String> carImgUrls;
 
    @ApiModelProperty(value = "驾驶证照片(最多3张,mutifile objType=7)")
    private List<String> licenseImgUrls;
 
    @ApiModelProperty(value = "其他资料照片(最多3张,mutifile objType=8)")
    private List<String> otherImgUrls;
 
}