yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
package com.qianwen.smartman.modules.perf.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import com.qianwen.smartman.common.constant.DateConstant;
import org.springframework.format.annotation.DateTimeFormat;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/EmployeeOnOffWorkVO.class */
public class EmployeeOnOffWorkVO implements Serializable {
    private static final long serialVersionUID = -8964827986799556669L;
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("员工id")
    private Long employeeId;
    @ApiModelProperty("员工名称")
    private String employeeName;
    @ApiModelProperty("员工编号")
    private String employeeCode;
    @ApiModelProperty("工位id")
    private Long workstationId;
    @ApiModelProperty("工位编号")
    private String workstationCode;
    @ApiModelProperty("工位名称")
    private String workstationName;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    @ApiModelProperty("上线时间")
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    private Date onlineTime;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    @ApiModelProperty("下线时间")
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    private Date offlineTime;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    private Date createTime;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/EmployeeOnOffWorkVO$EmployeeOnOffWorkVOBuilder.class */
    public static class EmployeeOnOffWorkVOBuilder {
        private Long id;
        private Long employeeId;
        private String employeeName;
        private String employeeCode;
        private Long workstationId;
        private String workstationCode;
        private String workstationName;
        private Date onlineTime;
        private Date offlineTime;
        private Date createTime;
 
        EmployeeOnOffWorkVOBuilder() {
        }
 
        public EmployeeOnOffWorkVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder employeeId(final Long employeeId) {
            this.employeeId = employeeId;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder employeeName(final String employeeName) {
            this.employeeName = employeeName;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder employeeCode(final String employeeCode) {
            this.employeeCode = employeeCode;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder workstationId(final Long workstationId) {
            this.workstationId = workstationId;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder workstationCode(final String workstationCode) {
            this.workstationCode = workstationCode;
            return this;
        }
 
        public EmployeeOnOffWorkVOBuilder workstationName(final String workstationName) {
            this.workstationName = workstationName;
            return this;
        }
 
        @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
        public EmployeeOnOffWorkVOBuilder onlineTime(final Date onlineTime) {
            this.onlineTime = onlineTime;
            return this;
        }
 
        @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
        public EmployeeOnOffWorkVOBuilder offlineTime(final Date offlineTime) {
            this.offlineTime = offlineTime;
            return this;
        }
 
        @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
        public EmployeeOnOffWorkVOBuilder createTime(final Date createTime) {
            this.createTime = createTime;
            return this;
        }
 
        public EmployeeOnOffWorkVO build() {
            return new EmployeeOnOffWorkVO(this.id, this.employeeId, this.employeeName, this.employeeCode, this.workstationId, this.workstationCode, this.workstationName, this.onlineTime, this.offlineTime, this.createTime);
        }
 
        public String toString() {
            return "EmployeeOnOffWorkVO.EmployeeOnOffWorkVOBuilder(id=" + this.id + ", employeeId=" + this.employeeId + ", employeeName=" + this.employeeName + ", employeeCode=" + this.employeeCode + ", workstationId=" + this.workstationId + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", onlineTime=" + this.onlineTime + ", offlineTime=" + this.offlineTime + ", createTime=" + this.createTime + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public void setEmployeeName(final String employeeName) {
        this.employeeName = employeeName;
    }
 
    public void setEmployeeCode(final String employeeCode) {
        this.employeeCode = employeeCode;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
    }
 
    public void setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
    }
 
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    public void setOnlineTime(final Date onlineTime) {
        this.onlineTime = onlineTime;
    }
 
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    public void setOfflineTime(final Date offlineTime) {
        this.offlineTime = offlineTime;
    }
 
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof EmployeeOnOffWorkVO) {
            EmployeeOnOffWorkVO other = (EmployeeOnOffWorkVO) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$employeeName = getEmployeeName();
                Object other$employeeName = other.getEmployeeName();
                if (this$employeeName == null) {
                    if (other$employeeName != null) {
                        return false;
                    }
                } else if (!this$employeeName.equals(other$employeeName)) {
                    return false;
                }
                Object this$employeeCode = getEmployeeCode();
                Object other$employeeCode = other.getEmployeeCode();
                if (this$employeeCode == null) {
                    if (other$employeeCode != null) {
                        return false;
                    }
                } else if (!this$employeeCode.equals(other$employeeCode)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    return false;
                }
                Object this$workstationName = getWorkstationName();
                Object other$workstationName = other.getWorkstationName();
                if (this$workstationName == null) {
                    if (other$workstationName != null) {
                        return false;
                    }
                } else if (!this$workstationName.equals(other$workstationName)) {
                    return false;
                }
                Object this$onlineTime = getOnlineTime();
                Object other$onlineTime = other.getOnlineTime();
                if (this$onlineTime == null) {
                    if (other$onlineTime != null) {
                        return false;
                    }
                } else if (!this$onlineTime.equals(other$onlineTime)) {
                    return false;
                }
                Object this$offlineTime = getOfflineTime();
                Object other$offlineTime = other.getOfflineTime();
                if (this$offlineTime == null) {
                    if (other$offlineTime != null) {
                        return false;
                    }
                } else if (!this$offlineTime.equals(other$offlineTime)) {
                    return false;
                }
                Object this$createTime = getCreateTime();
                Object other$createTime = other.getCreateTime();
                return this$createTime == null ? other$createTime == null : this$createTime.equals(other$createTime);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof EmployeeOnOffWorkVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $employeeId = getEmployeeId();
        int result2 = (result * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $workstationId = getWorkstationId();
        int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $employeeName = getEmployeeName();
        int result4 = (result3 * 59) + ($employeeName == null ? 43 : $employeeName.hashCode());
        Object $employeeCode = getEmployeeCode();
        int result5 = (result4 * 59) + ($employeeCode == null ? 43 : $employeeCode.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result6 = (result5 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result7 = (result6 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $onlineTime = getOnlineTime();
        int result8 = (result7 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
        Object $offlineTime = getOfflineTime();
        int result9 = (result8 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
        Object $createTime = getCreateTime();
        return (result9 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
    }
 
    public String toString() {
        return "EmployeeOnOffWorkVO(id=" + getId() + ", employeeId=" + getEmployeeId() + ", employeeName=" + getEmployeeName() + ", employeeCode=" + getEmployeeCode() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", onlineTime=" + getOnlineTime() + ", offlineTime=" + getOfflineTime() + ", createTime=" + getCreateTime() + ")";
    }
 
    public static EmployeeOnOffWorkVOBuilder builder() {
        return new EmployeeOnOffWorkVOBuilder();
    }
 
    public EmployeeOnOffWorkVO() {
    }
 
    public EmployeeOnOffWorkVO(final Long id, final Long employeeId, final String employeeName, final String employeeCode, final Long workstationId, final String workstationCode, final String workstationName, final Date onlineTime, final Date offlineTime, final Date createTime) {
        this.id = id;
        this.employeeId = employeeId;
        this.employeeName = employeeName;
        this.employeeCode = employeeCode;
        this.workstationId = workstationId;
        this.workstationCode = workstationCode;
        this.workstationName = workstationName;
        this.onlineTime = onlineTime;
        this.offlineTime = offlineTime;
        this.createTime = createTime;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
 
    public String getEmployeeName() {
        return this.employeeName;
    }
 
    public String getEmployeeCode() {
        return this.employeeCode;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Date getOnlineTime() {
        return this.onlineTime;
    }
 
    public Date getOfflineTime() {
        return this.offlineTime;
    }
 
    public Date getCreateTime() {
        return this.createTime;
    }
}