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 carImgUrls; @ApiModelProperty(value = "驾驶证照片(最多3张,mutifile objType=7)") private List licenseImgUrls; @ApiModelProperty(value = "其他资料照片(最多3张,mutifile objType=8)") private List otherImgUrls; }