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
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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
package com.qianwen.smartman.modules.tpm.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.time.LocalDateTime;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@ApiModel(description = "保养记录")
@TableName("blade_maintain_record")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/MaintainRecord.class */
public class MaintainRecord extends TenantEntity {
    private Long planId;
    private String recordCode;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer isDelay;
    private Integer delayDays;
    private Long maintainUserId;
    private String maintainUserName;
    private String delayReason;
    private Integer recordStatus;
    private Long deviceId;
    private String deviceCode;
    private String deviceName;
    private Long deviceTypeId;
    private String deviceTypeName;
    private Long projectId;
    private String projectName;
    private String projectCode;
    private String planCode;
    private String remark;
    private Integer maintainNature;
 
    public MaintainRecord setPlanId(final Long planId) {
        this.planId = planId;
        return this;
    }
 
    public MaintainRecord setRecordCode(final String recordCode) {
        this.recordCode = recordCode;
        return this;
    }
 
    public MaintainRecord setStartTime(final LocalDateTime startTime) {
        this.startTime = startTime;
        return this;
    }
 
    public MaintainRecord setEndTime(final LocalDateTime endTime) {
        this.endTime = endTime;
        return this;
    }
 
    public MaintainRecord setIsDelay(final Integer isDelay) {
        this.isDelay = isDelay;
        return this;
    }
 
    public MaintainRecord setDelayDays(final Integer delayDays) {
        this.delayDays = delayDays;
        return this;
    }
 
    public MaintainRecord setMaintainUserId(final Long maintainUserId) {
        this.maintainUserId = maintainUserId;
        return this;
    }
 
    public MaintainRecord setMaintainUserName(final String maintainUserName) {
        this.maintainUserName = maintainUserName;
        return this;
    }
 
    public MaintainRecord setDelayReason(final String delayReason) {
        this.delayReason = delayReason;
        return this;
    }
 
    public MaintainRecord setRecordStatus(final Integer recordStatus) {
        this.recordStatus = recordStatus;
        return this;
    }
 
    public MaintainRecord setDeviceId(final Long deviceId) {
        this.deviceId = deviceId;
        return this;
    }
 
    public MaintainRecord setDeviceCode(final String deviceCode) {
        this.deviceCode = deviceCode;
        return this;
    }
 
    public MaintainRecord setDeviceName(final String deviceName) {
        this.deviceName = deviceName;
        return this;
    }
 
    public MaintainRecord setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public MaintainRecord setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
        return this;
    }
 
    public MaintainRecord setProjectId(final Long projectId) {
        this.projectId = projectId;
        return this;
    }
 
    public MaintainRecord setProjectName(final String projectName) {
        this.projectName = projectName;
        return this;
    }
 
    public MaintainRecord setProjectCode(final String projectCode) {
        this.projectCode = projectCode;
        return this;
    }
 
    public MaintainRecord setPlanCode(final String planCode) {
        this.planCode = planCode;
        return this;
    }
 
    public MaintainRecord setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public MaintainRecord setMaintainNature(final Integer maintainNature) {
        this.maintainNature = maintainNature;
        return this;
    }
 
    public String toString() {
        return "MaintainRecord(planId=" + getPlanId() + ", recordCode=" + getRecordCode() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", isDelay=" + getIsDelay() + ", delayDays=" + getDelayDays() + ", maintainUserId=" + getMaintainUserId() + ", maintainUserName=" + getMaintainUserName() + ", delayReason=" + getDelayReason() + ", recordStatus=" + getRecordStatus() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", projectId=" + getProjectId() + ", projectName=" + getProjectName() + ", projectCode=" + getProjectCode() + ", planCode=" + getPlanCode() + ", remark=" + getRemark() + ", maintainNature=" + getMaintainNature() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MaintainRecord) {
            MaintainRecord other = (MaintainRecord) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$planId = getPlanId();
                Object other$planId = other.getPlanId();
                if (this$planId == null) {
                    if (other$planId != null) {
                        return false;
                    }
                } else if (!this$planId.equals(other$planId)) {
                    return false;
                }
                Object this$isDelay = getIsDelay();
                Object other$isDelay = other.getIsDelay();
                if (this$isDelay == null) {
                    if (other$isDelay != null) {
                        return false;
                    }
                } else if (!this$isDelay.equals(other$isDelay)) {
                    return false;
                }
                Object this$delayDays = getDelayDays();
                Object other$delayDays = other.getDelayDays();
                if (this$delayDays == null) {
                    if (other$delayDays != null) {
                        return false;
                    }
                } else if (!this$delayDays.equals(other$delayDays)) {
                    return false;
                }
                Object this$maintainUserId = getMaintainUserId();
                Object other$maintainUserId = other.getMaintainUserId();
                if (this$maintainUserId == null) {
                    if (other$maintainUserId != null) {
                        return false;
                    }
                } else if (!this$maintainUserId.equals(other$maintainUserId)) {
                    return false;
                }
                Object this$recordStatus = getRecordStatus();
                Object other$recordStatus = other.getRecordStatus();
                if (this$recordStatus == null) {
                    if (other$recordStatus != null) {
                        return false;
                    }
                } else if (!this$recordStatus.equals(other$recordStatus)) {
                    return false;
                }
                Object this$deviceId = getDeviceId();
                Object other$deviceId = other.getDeviceId();
                if (this$deviceId == null) {
                    if (other$deviceId != null) {
                        return false;
                    }
                } else if (!this$deviceId.equals(other$deviceId)) {
                    return false;
                }
                Object this$deviceTypeId = getDeviceTypeId();
                Object other$deviceTypeId = other.getDeviceTypeId();
                if (this$deviceTypeId == null) {
                    if (other$deviceTypeId != null) {
                        return false;
                    }
                } else if (!this$deviceTypeId.equals(other$deviceTypeId)) {
                    return false;
                }
                Object this$projectId = getProjectId();
                Object other$projectId = other.getProjectId();
                if (this$projectId == null) {
                    if (other$projectId != null) {
                        return false;
                    }
                } else if (!this$projectId.equals(other$projectId)) {
                    return false;
                }
                Object this$maintainNature = getMaintainNature();
                Object other$maintainNature = other.getMaintainNature();
                if (this$maintainNature == null) {
                    if (other$maintainNature != null) {
                        return false;
                    }
                } else if (!this$maintainNature.equals(other$maintainNature)) {
                    return false;
                }
                Object this$recordCode = getRecordCode();
                Object other$recordCode = other.getRecordCode();
                if (this$recordCode == null) {
                    if (other$recordCode != null) {
                        return false;
                    }
                } else if (!this$recordCode.equals(other$recordCode)) {
                    return false;
                }
                Object this$startTime = getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    return false;
                }
                Object this$endTime = getEndTime();
                Object other$endTime = other.getEndTime();
                if (this$endTime == null) {
                    if (other$endTime != null) {
                        return false;
                    }
                } else if (!this$endTime.equals(other$endTime)) {
                    return false;
                }
                Object this$maintainUserName = getMaintainUserName();
                Object other$maintainUserName = other.getMaintainUserName();
                if (this$maintainUserName == null) {
                    if (other$maintainUserName != null) {
                        return false;
                    }
                } else if (!this$maintainUserName.equals(other$maintainUserName)) {
                    return false;
                }
                Object this$delayReason = getDelayReason();
                Object other$delayReason = other.getDelayReason();
                if (this$delayReason == null) {
                    if (other$delayReason != null) {
                        return false;
                    }
                } else if (!this$delayReason.equals(other$delayReason)) {
                    return false;
                }
                Object this$deviceCode = getDeviceCode();
                Object other$deviceCode = other.getDeviceCode();
                if (this$deviceCode == null) {
                    if (other$deviceCode != null) {
                        return false;
                    }
                } else if (!this$deviceCode.equals(other$deviceCode)) {
                    return false;
                }
                Object this$deviceName = getDeviceName();
                Object other$deviceName = other.getDeviceName();
                if (this$deviceName == null) {
                    if (other$deviceName != null) {
                        return false;
                    }
                } else if (!this$deviceName.equals(other$deviceName)) {
                    return false;
                }
                Object this$deviceTypeName = getDeviceTypeName();
                Object other$deviceTypeName = other.getDeviceTypeName();
                if (this$deviceTypeName == null) {
                    if (other$deviceTypeName != null) {
                        return false;
                    }
                } else if (!this$deviceTypeName.equals(other$deviceTypeName)) {
                    return false;
                }
                Object this$projectName = getProjectName();
                Object other$projectName = other.getProjectName();
                if (this$projectName == null) {
                    if (other$projectName != null) {
                        return false;
                    }
                } else if (!this$projectName.equals(other$projectName)) {
                    return false;
                }
                Object this$projectCode = getProjectCode();
                Object other$projectCode = other.getProjectCode();
                if (this$projectCode == null) {
                    if (other$projectCode != null) {
                        return false;
                    }
                } else if (!this$projectCode.equals(other$projectCode)) {
                    return false;
                }
                Object this$planCode = getPlanCode();
                Object other$planCode = other.getPlanCode();
                if (this$planCode == null) {
                    if (other$planCode != null) {
                        return false;
                    }
                } else if (!this$planCode.equals(other$planCode)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MaintainRecord;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $planId = getPlanId();
        int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode());
        Object $isDelay = getIsDelay();
        int result3 = (result2 * 59) + ($isDelay == null ? 43 : $isDelay.hashCode());
        Object $delayDays = getDelayDays();
        int result4 = (result3 * 59) + ($delayDays == null ? 43 : $delayDays.hashCode());
        Object $maintainUserId = getMaintainUserId();
        int result5 = (result4 * 59) + ($maintainUserId == null ? 43 : $maintainUserId.hashCode());
        Object $recordStatus = getRecordStatus();
        int result6 = (result5 * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
        Object $deviceId = getDeviceId();
        int result7 = (result6 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        int result8 = (result7 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $projectId = getProjectId();
        int result9 = (result8 * 59) + ($projectId == null ? 43 : $projectId.hashCode());
        Object $maintainNature = getMaintainNature();
        int result10 = (result9 * 59) + ($maintainNature == null ? 43 : $maintainNature.hashCode());
        Object $recordCode = getRecordCode();
        int result11 = (result10 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode());
        Object $startTime = getStartTime();
        int result12 = (result11 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        int result13 = (result12 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
        Object $maintainUserName = getMaintainUserName();
        int result14 = (result13 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode());
        Object $delayReason = getDelayReason();
        int result15 = (result14 * 59) + ($delayReason == null ? 43 : $delayReason.hashCode());
        Object $deviceCode = getDeviceCode();
        int result16 = (result15 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
        Object $deviceName = getDeviceName();
        int result17 = (result16 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        int result18 = (result17 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
        Object $projectName = getProjectName();
        int result19 = (result18 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
        Object $projectCode = getProjectCode();
        int result20 = (result19 * 59) + ($projectCode == null ? 43 : $projectCode.hashCode());
        Object $planCode = getPlanCode();
        int result21 = (result20 * 59) + ($planCode == null ? 43 : $planCode.hashCode());
        Object $remark = getRemark();
        return (result21 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public Long getPlanId() {
        return this.planId;
    }
 
    public String getRecordCode() {
        return this.recordCode;
    }
 
    public LocalDateTime getStartTime() {
        return this.startTime;
    }
 
    public LocalDateTime getEndTime() {
        return this.endTime;
    }
 
    public Integer getIsDelay() {
        return this.isDelay;
    }
 
    public Integer getDelayDays() {
        return this.delayDays;
    }
 
    public Long getMaintainUserId() {
        return this.maintainUserId;
    }
 
    public String getMaintainUserName() {
        return this.maintainUserName;
    }
 
    public String getDelayReason() {
        return this.delayReason;
    }
 
    public Integer getRecordStatus() {
        return this.recordStatus;
    }
 
    public Long getDeviceId() {
        return this.deviceId;
    }
 
    public String getDeviceCode() {
        return this.deviceCode;
    }
 
    public String getDeviceName() {
        return this.deviceName;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public Long getProjectId() {
        return this.projectId;
    }
 
    public String getProjectName() {
        return this.projectName;
    }
 
    public String getProjectCode() {
        return this.projectCode;
    }
 
    public String getPlanCode() {
        return this.planCode;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Integer getMaintainNature() {
        return this.maintainNature;
    }
}