NewDriverUpdateDTO.java
5.92 KB
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
package com.ruoyi.domain.driver.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
@Data
@ApiModel(value = "司机信息的修改DTO")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class NewDriverUpdateDTO implements java.io.Serializable {
private static final long serialVersionUID = 530049121L;
/***主键*/
@ApiModelProperty(value = "主键", example = "1")
private Integer id;
/***工号*/
@ApiModelProperty(value = "工号")
private String jobCode;
/***公司编码*/
@ApiModelProperty(value = "公司编码")
private String companyCode;
/***分公司编码*/
@ApiModelProperty(value = "分公司编码")
private String brancheCompanyCode;
/***姓名*/
@ApiModelProperty(value = "姓名")
private String personnelName;
/***运营服务证书号*/
@ApiModelProperty(value = "运营服务证书号")
private String papersCode;
/***一卡通工作卡号*/
@ApiModelProperty(value = "一卡通工作卡号")
private String icCardCode;
/***性别*/
@ApiModelProperty(value = "性别")
private String personnelType;
/***所属岗位/工种*/
@ApiModelProperty(value = "所属岗位/工种")
private String posts;
/***身份证*/
@ApiModelProperty(value = "身份证")
private String card;
/***联系电话*/
@ApiModelProperty(value = "联系电话")
private String telphone;
/***RFID 人卡IC号*/
@ApiModelProperty(value = "RFID 人卡IC号")
private String icRfid;
/***RFID 人卡ID号(10进制)*/
@ApiModelProperty(value = "RFID 人卡ID号(10进制)")
private String idRfid;
/***RFID 标签号*/
@ApiModelProperty(value = "RFID 标签号")
private String tagRfid;
/***备注*/
@ApiModelProperty(value = "备注")
private String remark;
/***线路名称*/
@ApiModelProperty(value = "线路名称")
private String lineName;
/***线路编码*/
@ApiModelProperty(value = "线路编码")
private String lineCode;
/***是否进行人脸注册 1 注册 2 未注册*/
@ApiModelProperty(value = "是否进行人脸注册 1 注册 2 未注册", example = "1")
private Integer faceSignIn;
/***头像*/
@ApiModelProperty(value = "头像")
private String image;
/***更新日期*/
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
/***注册设备列表*/
@ApiModelProperty(value = "注册设备列表")
private String signInEquipment;
/***车队名称*/
@ApiModelProperty(value = "车队名称")
private String fleetName;
/***人脸识别特征*/
@ApiModelProperty(value = "人脸识别特征")
private java.lang.String faceFeature;
/***手环mac地址*/
@ApiModelProperty(value = "手环mac地址")
private java.lang.String blueTooth;
/***同步结果状态;0成功,1失败*/
@ApiModelProperty(value = "同步结果状态;0成功,1失败", example = "1")
private java.lang.Integer integer;
/***同步内容*/
@ApiModelProperty(value = "同步内容")
private java.lang.String syncontent;
/***物理卡号*/
@ApiModelProperty(value = "物理卡号")
private java.lang.String csn;
/***操作人员*/
@ApiModelProperty(value = "操作人员")
private String operator;
public void clearStrEmpty() {
if (org.apache.commons.lang3.StringUtils.isEmpty(this.jobCode)) {
this.jobCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.companyCode)) {
this.companyCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.brancheCompanyCode)) {
this.brancheCompanyCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.personnelName)) {
this.personnelName = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.papersCode)) {
this.papersCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.icCardCode)) {
this.icCardCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.personnelType)) {
this.personnelType = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.posts)) {
this.posts = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.card)) {
this.card = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.telphone)) {
this.telphone = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.icRfid)) {
this.icRfid = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.idRfid)) {
this.idRfid = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.tagRfid)) {
this.tagRfid = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.remark)) {
this.remark = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.lineName)) {
this.lineName = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.lineCode)) {
this.lineCode = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.image)) {
this.image = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.signInEquipment)) {
this.signInEquipment = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.fleetName)) {
this.fleetName = null;
}
if (org.apache.commons.lang3.StringUtils.isEmpty(this.operator)) {
this.operator = null;
}
}
@Override
public String toString() {
return com.alibaba.fastjson2.JSON.toJSONString(this);
}
}