rk
5 小时以前 7eebfc8a64d2cbbd73453a2b653d5a5bfd66a32f
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
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.math.BigDecimal;
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 = 7, width = 18, 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 = 1, width = 10)
    private String name;
 
    @ApiModelProperty(value = "手机号")
    @ExcelColumn(name = "手机号", index = 3, width = 12)
    private String telephone;
 
    @ApiModelProperty(value = "性别:1=男;2=女", example = "1")
    @TableField(exist = false)
    @ExcelColumn(name = "性别", index = 2, width = 6, valueMapping = "1=男;2=女")
    private Integer gender;
 
    @ApiModelProperty(value = "身份证号码")
    @ExcelColumn(name = "身份证号码", index = 4, width = 18)
    private String idcard;
 
    @ApiModelProperty(value = "婚姻状态:0=未婚;1=已婚;2=离异;3=丧偶", example = "0")
    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 = 12)
    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=禁用;", example = "0")
    @ExcelColumn(name = "状态", index = 8, width = 8, valueMapping = "0=启用;1=禁用;")
    private Integer status;
 
    @ApiModelProperty(value = "审批状态:0=待审批;1=审批通过;2=审批驳回", example = "0")
    @ExcelColumn(name = "审批状态", index = 9, width = 10, valueMapping = "0=待审批;1=审批通过;2=审批驳回")
    private Integer auditStatus;
 
    @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 = "司机定级:( 5 - 1 S A B C D )", example = "1")
    private Integer driverLevel;
 
    @ApiModelProperty(value = "司机评分")
    private BigDecimal score;
 
    @ApiModelProperty(value = "当前余额(分)")
    private Long balance;
 
    @ApiModelProperty(value = "历史总金额(分)")
    private Long totalBalance;
 
    @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;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "状态列表(查询用)", example = "0,1,2")
    private List<Integer> statusList;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "当前余额(单位:分)", example = "10000")
    @ExcelColumn(name = "账户余额", index = 5, width = 12)
    private Long memberAmount;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "图片前缀地址")
    private String imgPrefix;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "查询关键字(司机姓名/手机号)")
    private String keyword;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "创建开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTimeStart;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "创建结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTimeEnd;
 
}