rk
2 天以前 fcd0f63ea0a86d5756cf3950f08144e1552a3d4e
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
/**
 * 司机注册信息
 * @author rk
 * @date 2026/04/08
 */
@Data
@ApiModel("司机注册信息")
@TableName("`driver_info`")
public class DriverInfo {
 
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;
 
    @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "0")
    private Integer deleted;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    private Integer createUser;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name = "创建时间", index = 1, width = 16, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    private Integer updateUser;
 
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "姓名")
    @ExcelColumn(name = "姓名", index = 2, width = 10)
    private String name;
 
    @ApiModelProperty(value = "手机号")
    @ExcelColumn(name = "手机号", index = 3, width = 12)
    private String telephone;
 
    @ApiModelProperty(value = "身份证号码")
    @ExcelColumn(name = "身份证号码", index = 4, width = 18)
    private String idcard;
 
    @ApiModelProperty(value = "婚姻状态:0=未婚;1=已婚;2=离异;3=丧偶", example = "0")
    @ExcelColumn(name = "婚姻状态", index = 5, width = 10, valueMapping = "0=未婚;1=已婚;2=离异;3=丧偶;")
    private Integer maritalStatus;
 
    @ApiModelProperty(value = "区划主键", example = "1")
    private Integer areaId;
 
    @ApiModelProperty(value = "居住地址")
    private String livePlace;
 
    @ApiModelProperty(value = "头像图片")
    private String imgurl;
 
    @ApiModelProperty(value = "车辆类型", example = "1")
    private Integer carType;
 
    @ApiModelProperty(value = "车牌号")
    @ExcelColumn(name = "车牌号", index = 6, width = 10)
    private String carCode;
 
    @ApiModelProperty(value = "车辆颜色")
    private String carColor;
 
    @ApiModelProperty(value = "驾驶证有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date cardStartDate;
 
    @ApiModelProperty(value = "驾驶证有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date cardEndDate;
 
    @ApiModelProperty(value = "司机状态:0=注册;1=待审批;2=审批通过;3=审批驳回", example = "0")
    @ExcelColumn(name = "状态", index = 7, width = 10, valueMapping = "0=注册;1=待审批;2=审批通过;3=审批驳回;")
    private Integer status;
 
    @ApiModelProperty(value = "OPENID(APP)")
    private String openid;
 
    @ApiModelProperty(value = "UNIONID")
    private String unionid;
 
    @ApiModelProperty(value = "审批时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;
 
    @ApiModelProperty(value = "审批人", example = "1")
    private Integer auditUser;
 
    @ApiModelProperty(value = "审批备注")
    private String auditRemark;
 
    @ApiModelProperty(value = "会员主键", example = "1")
    private Integer memberId;
 
    @ApiModelProperty(value = "身份证正面照")
    private String idcardImg;
 
    @ApiModelProperty(value = "身份证反面照")
    private String idcardImgBack;
 
    @ApiModelProperty(value = "车辆照片列表")
    @TableField(exist = false)
    private List<Multifile> carImgList = new ArrayList<>();
 
    @ApiModelProperty(value = "驾驶证照片列表")
    @TableField(exist = false)
    private List<Multifile> licenseImgList = new ArrayList<>();
 
    @ApiModelProperty(value = "其他资料照片列表")
    @TableField(exist = false)
    private List<Multifile> otherImgList = new ArrayList<>();
 
    @ApiModelProperty(value = "是否需要上传驾驶证:0=不需要;1=需要")
    @TableField(exist = false)
    private Integer needLicense;
 
    @ApiModelProperty(value = "车辆类型名称")
    @TableField(exist = false)
    private String carTypeName;
 
 
 
}