yangys
2024-03-31 2969df3e404db3cd116f27db1495e523ce05bf86
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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
package com.qianwen.smartman.modules.perf.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.qianwen.core.mp.base.BaseEntity;
 
@TableName(EmployeeOnOffWork.TABLE_NAME)
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/entity/EmployeeOnOffWork.class */
public class EmployeeOnOffWork extends BaseEntity {
    private static final long serialVersionUID = -741292962424663588L;
    public static final String TABLE_NAME = "blade_employee_on_off_work";
    @ApiModelProperty("上线时间")
    private Date onlineTime;
    @ApiModelProperty("上线员工id")
    private Long onEmployeeId;
    @ApiModelProperty("上线员工编号")
    private String onEmployeeCode;
    @ApiModelProperty("上线员工名称")
    private String onEmployeeName;
    @ApiModelProperty("上线员工头像")
    private String onEmployeeAvatar;
    @ApiModelProperty("工位id")
    private Long workstationId;
    @ApiModelProperty("工位编号")
    private String workstationCode;
    @ApiModelProperty("工位名称")
    private String workstationName;
    @ApiModelProperty("工位头像")
    private String workstationAvatar;
    @ApiModelProperty("下线时间")
    private Date offlineTime;
    @ApiModelProperty("下线员工id")
    private Long offEmployeeId;
    @ApiModelProperty("下线员工编号")
    private String offEmployeeCode;
    @ApiModelProperty("下线员工名称")
    private String offEmployeeName;
    @ApiModelProperty("下线员工头像")
    private String offEmployeeAvatar;
    @ApiModelProperty("上下线类型 0-上线 1-下线")
    private Integer onlineType;
    @ApiModelProperty("按时间/班次上下线 0-时间 1-班次")
    private Integer timeType;
 
    public EmployeeOnOffWork setOnlineTime(final Date onlineTime) {
        this.onlineTime = onlineTime;
        return this;
    }
 
    public EmployeeOnOffWork setOnEmployeeId(final Long onEmployeeId) {
        this.onEmployeeId = onEmployeeId;
        return this;
    }
 
    public EmployeeOnOffWork setOnEmployeeCode(final String onEmployeeCode) {
        this.onEmployeeCode = onEmployeeCode;
        return this;
    }
 
    public EmployeeOnOffWork setOnEmployeeName(final String onEmployeeName) {
        this.onEmployeeName = onEmployeeName;
        return this;
    }
 
    public EmployeeOnOffWork setOnEmployeeAvatar(final String onEmployeeAvatar) {
        this.onEmployeeAvatar = onEmployeeAvatar;
        return this;
    }
 
    public EmployeeOnOffWork setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public EmployeeOnOffWork setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
        return this;
    }
 
    public EmployeeOnOffWork setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
        return this;
    }
 
    public EmployeeOnOffWork setWorkstationAvatar(final String workstationAvatar) {
        this.workstationAvatar = workstationAvatar;
        return this;
    }
 
    public EmployeeOnOffWork setOfflineTime(final Date offlineTime) {
        this.offlineTime = offlineTime;
        return this;
    }
 
    public EmployeeOnOffWork setOffEmployeeId(final Long offEmployeeId) {
        this.offEmployeeId = offEmployeeId;
        return this;
    }
 
    public EmployeeOnOffWork setOffEmployeeCode(final String offEmployeeCode) {
        this.offEmployeeCode = offEmployeeCode;
        return this;
    }
 
    public EmployeeOnOffWork setOffEmployeeName(final String offEmployeeName) {
        this.offEmployeeName = offEmployeeName;
        return this;
    }
 
    public EmployeeOnOffWork setOffEmployeeAvatar(final String offEmployeeAvatar) {
        this.offEmployeeAvatar = offEmployeeAvatar;
        return this;
    }
 
    public EmployeeOnOffWork setOnlineType(final Integer onlineType) {
        this.onlineType = onlineType;
        return this;
    }
 
    public EmployeeOnOffWork setTimeType(final Integer timeType) {
        this.timeType = timeType;
        return this;
    }
 
    public String toString() {
        return "EmployeeOnOffWork(onlineTime=" + getOnlineTime() + ", onEmployeeId=" + getOnEmployeeId() + ", onEmployeeCode=" + getOnEmployeeCode() + ", onEmployeeName=" + getOnEmployeeName() + ", onEmployeeAvatar=" + getOnEmployeeAvatar() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationAvatar=" + getWorkstationAvatar() + ", offlineTime=" + getOfflineTime() + ", offEmployeeId=" + getOffEmployeeId() + ", offEmployeeCode=" + getOffEmployeeCode() + ", offEmployeeName=" + getOffEmployeeName() + ", offEmployeeAvatar=" + getOffEmployeeAvatar() + ", onlineType=" + getOnlineType() + ", timeType=" + getTimeType() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof EmployeeOnOffWork) {
            EmployeeOnOffWork other = (EmployeeOnOffWork) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$onEmployeeId = getOnEmployeeId();
                Object other$onEmployeeId = other.getOnEmployeeId();
                if (this$onEmployeeId == null) {
                    if (other$onEmployeeId != null) {
                        return false;
                    }
                } else if (!this$onEmployeeId.equals(other$onEmployeeId)) {
                    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$offEmployeeId = getOffEmployeeId();
                Object other$offEmployeeId = other.getOffEmployeeId();
                if (this$offEmployeeId == null) {
                    if (other$offEmployeeId != null) {
                        return false;
                    }
                } else if (!this$offEmployeeId.equals(other$offEmployeeId)) {
                    return false;
                }
                Object this$onlineType = getOnlineType();
                Object other$onlineType = other.getOnlineType();
                if (this$onlineType == null) {
                    if (other$onlineType != null) {
                        return false;
                    }
                } else if (!this$onlineType.equals(other$onlineType)) {
                    return false;
                }
                Object this$timeType = getTimeType();
                Object other$timeType = other.getTimeType();
                if (this$timeType == null) {
                    if (other$timeType != null) {
                        return false;
                    }
                } else if (!this$timeType.equals(other$timeType)) {
                    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$onEmployeeCode = getOnEmployeeCode();
                Object other$onEmployeeCode = other.getOnEmployeeCode();
                if (this$onEmployeeCode == null) {
                    if (other$onEmployeeCode != null) {
                        return false;
                    }
                } else if (!this$onEmployeeCode.equals(other$onEmployeeCode)) {
                    return false;
                }
                Object this$onEmployeeName = getOnEmployeeName();
                Object other$onEmployeeName = other.getOnEmployeeName();
                if (this$onEmployeeName == null) {
                    if (other$onEmployeeName != null) {
                        return false;
                    }
                } else if (!this$onEmployeeName.equals(other$onEmployeeName)) {
                    return false;
                }
                Object this$onEmployeeAvatar = getOnEmployeeAvatar();
                Object other$onEmployeeAvatar = other.getOnEmployeeAvatar();
                if (this$onEmployeeAvatar == null) {
                    if (other$onEmployeeAvatar != null) {
                        return false;
                    }
                } else if (!this$onEmployeeAvatar.equals(other$onEmployeeAvatar)) {
                    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$workstationAvatar = getWorkstationAvatar();
                Object other$workstationAvatar = other.getWorkstationAvatar();
                if (this$workstationAvatar == null) {
                    if (other$workstationAvatar != null) {
                        return false;
                    }
                } else if (!this$workstationAvatar.equals(other$workstationAvatar)) {
                    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$offEmployeeCode = getOffEmployeeCode();
                Object other$offEmployeeCode = other.getOffEmployeeCode();
                if (this$offEmployeeCode == null) {
                    if (other$offEmployeeCode != null) {
                        return false;
                    }
                } else if (!this$offEmployeeCode.equals(other$offEmployeeCode)) {
                    return false;
                }
                Object this$offEmployeeName = getOffEmployeeName();
                Object other$offEmployeeName = other.getOffEmployeeName();
                if (this$offEmployeeName == null) {
                    if (other$offEmployeeName != null) {
                        return false;
                    }
                } else if (!this$offEmployeeName.equals(other$offEmployeeName)) {
                    return false;
                }
                Object this$offEmployeeAvatar = getOffEmployeeAvatar();
                Object other$offEmployeeAvatar = other.getOffEmployeeAvatar();
                return this$offEmployeeAvatar == null ? other$offEmployeeAvatar == null : this$offEmployeeAvatar.equals(other$offEmployeeAvatar);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof EmployeeOnOffWork;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $onEmployeeId = getOnEmployeeId();
        int result2 = (result * 59) + ($onEmployeeId == null ? 43 : $onEmployeeId.hashCode());
        Object $workstationId = getWorkstationId();
        int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $offEmployeeId = getOffEmployeeId();
        int result4 = (result3 * 59) + ($offEmployeeId == null ? 43 : $offEmployeeId.hashCode());
        Object $onlineType = getOnlineType();
        int result5 = (result4 * 59) + ($onlineType == null ? 43 : $onlineType.hashCode());
        Object $timeType = getTimeType();
        int result6 = (result5 * 59) + ($timeType == null ? 43 : $timeType.hashCode());
        Object $onlineTime = getOnlineTime();
        int result7 = (result6 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
        Object $onEmployeeCode = getOnEmployeeCode();
        int result8 = (result7 * 59) + ($onEmployeeCode == null ? 43 : $onEmployeeCode.hashCode());
        Object $onEmployeeName = getOnEmployeeName();
        int result9 = (result8 * 59) + ($onEmployeeName == null ? 43 : $onEmployeeName.hashCode());
        Object $onEmployeeAvatar = getOnEmployeeAvatar();
        int result10 = (result9 * 59) + ($onEmployeeAvatar == null ? 43 : $onEmployeeAvatar.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result11 = (result10 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result12 = (result11 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $workstationAvatar = getWorkstationAvatar();
        int result13 = (result12 * 59) + ($workstationAvatar == null ? 43 : $workstationAvatar.hashCode());
        Object $offlineTime = getOfflineTime();
        int result14 = (result13 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
        Object $offEmployeeCode = getOffEmployeeCode();
        int result15 = (result14 * 59) + ($offEmployeeCode == null ? 43 : $offEmployeeCode.hashCode());
        Object $offEmployeeName = getOffEmployeeName();
        int result16 = (result15 * 59) + ($offEmployeeName == null ? 43 : $offEmployeeName.hashCode());
        Object $offEmployeeAvatar = getOffEmployeeAvatar();
        return (result16 * 59) + ($offEmployeeAvatar == null ? 43 : $offEmployeeAvatar.hashCode());
    }
 
    public Date getOnlineTime() {
        return this.onlineTime;
    }
 
    public Long getOnEmployeeId() {
        return this.onEmployeeId;
    }
 
    public String getOnEmployeeCode() {
        return this.onEmployeeCode;
    }
 
    public String getOnEmployeeName() {
        return this.onEmployeeName;
    }
 
    public String getOnEmployeeAvatar() {
        return this.onEmployeeAvatar;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public String getWorkstationAvatar() {
        return this.workstationAvatar;
    }
 
    public Date getOfflineTime() {
        return this.offlineTime;
    }
 
    public Long getOffEmployeeId() {
        return this.offEmployeeId;
    }
 
    public String getOffEmployeeCode() {
        return this.offEmployeeCode;
    }
 
    public String getOffEmployeeName() {
        return this.offEmployeeName;
    }
 
    public String getOffEmployeeAvatar() {
        return this.offEmployeeAvatar;
    }
 
    public Integer getOnlineType() {
        return this.onlineType;
    }
 
    public Integer getTimeType() {
        return this.timeType;
    }
}