| | |
| | | package com.doumee.dao.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @Data |
| | | @ApiModel("司机实名认证请求类") |
| | | public class DriverVerifyRequest implements Serializable { |
| | | |
| | | @ApiModelProperty(value = "司机主键(管理端修改时必传)") |
| | | private Integer id; |
| | | |
| | | @NotEmpty(message = "姓名不能为空") |
| | | @ApiModelProperty(value = "姓名", required = true) |
| | |
| | | private String carColor; |
| | | |
| | | @ApiModelProperty(value = "驾驶证有效期开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date cardStartDate; |
| | | |
| | | @ApiModelProperty(value = "驾驶证有效期结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date cardEndDate; |
| | | |
| | | @NotEmpty(message = "身份证正面照不能为空") |