yangys
2024-05-06 e19227de97d21c10fd22536f85c8153e63072d0c
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
473
474
475
476
477
478
479
480
481
package com.qianwen.smartman.modules.cps.vo;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
 
public class WorkstationRealTimeStatusVO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "工位id", dataType = "Long")
    private Long id;
    @ApiModelProperty("工位名称")
    private String code;
    @ApiModelProperty("工位名称")
    private String name;
    @ApiModelProperty("工位图片")
    private String avatar;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("工位组id")
    private Long groupId;
    @ApiModelProperty("工位组名称")
    private String groupName;
    @ApiModelProperty("生产日历编码")
    private String calendarCode;
    @ApiModelProperty("生产日历名称")
    private String calendarName;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("机器Id")
    private Long machineId;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    @ApiModelProperty("机器品牌")
    private String machineBrand;
    @ApiModelProperty("实时数据")
    List<RealTimeStatusVO> properties;
    @JsonIgnore
    private String createDept;
    @JsonIgnore
    private String createUser;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationRealTimeStatusVO$WorkstationRealTimeStatusVOBuilder.class */
    public static class WorkstationRealTimeStatusVOBuilder {
        private Long id;
        private String code;
        private String name;
        private String avatar;
        private Long groupId;
        private String groupName;
        private String calendarCode;
        private String calendarName;
        private Long machineId;
        private String machineCode;
        private String machineName;
        private String machineBrand;
        private List<RealTimeStatusVO> properties;
        private String createDept;
        private String createUser;
 
        WorkstationRealTimeStatusVOBuilder() {
        }
 
        public WorkstationRealTimeStatusVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder avatar(final String avatar) {
            this.avatar = avatar;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder groupName(final String groupName) {
            this.groupName = groupName;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder calendarCode(final String calendarCode) {
            this.calendarCode = calendarCode;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder calendarName(final String calendarName) {
            this.calendarName = calendarName;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder machineId(final Long machineId) {
            this.machineId = machineId;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder machineBrand(final String machineBrand) {
            this.machineBrand = machineBrand;
            return this;
        }
 
        public WorkstationRealTimeStatusVOBuilder properties(final List<RealTimeStatusVO> properties) {
            this.properties = properties;
            return this;
        }
 
        @JsonIgnore
        public WorkstationRealTimeStatusVOBuilder createDept(final String createDept) {
            this.createDept = createDept;
            return this;
        }
 
        @JsonIgnore
        public WorkstationRealTimeStatusVOBuilder createUser(final String createUser) {
            this.createUser = createUser;
            return this;
        }
 
        public WorkstationRealTimeStatusVO build() {
            return new WorkstationRealTimeStatusVO(this.id, this.code, this.name, this.avatar, this.groupId, this.groupName, this.calendarCode, this.calendarName, this.machineId, this.machineCode, this.machineName, this.machineBrand, this.properties, this.createDept, this.createUser);
        }
 
        public String toString() {
            return "WorkstationRealTimeStatusVO.WorkstationRealTimeStatusVOBuilder(id=" + this.id + ", code=" + this.code + ", name=" + this.name + ", avatar=" + this.avatar + ", groupId=" + this.groupId + ", groupName=" + this.groupName + ", calendarCode=" + this.calendarCode + ", calendarName=" + this.calendarName + ", machineId=" + this.machineId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machineBrand=" + this.machineBrand + ", properties=" + this.properties + ", createDept=" + this.createDept + ", createUser=" + this.createUser + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }
 
    public void setCalendarCode(final String calendarCode) {
        this.calendarCode = calendarCode;
    }
 
    public void setCalendarName(final String calendarName) {
        this.calendarName = calendarName;
    }
 
    public void setMachineId(final Long machineId) {
        this.machineId = machineId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setMachineBrand(final String machineBrand) {
        this.machineBrand = machineBrand;
    }
 
    public void setProperties(final List<RealTimeStatusVO> properties) {
        this.properties = properties;
    }
 
    @JsonIgnore
    public void setCreateDept(final String createDept) {
        this.createDept = createDept;
    }
 
    @JsonIgnore
    public void setCreateUser(final String createUser) {
        this.createUser = createUser;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationRealTimeStatusVO) {
            WorkstationRealTimeStatusVO other = (WorkstationRealTimeStatusVO) 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$groupId = getGroupId();
                Object other$groupId = other.getGroupId();
                if (this$groupId == null) {
                    if (other$groupId != null) {
                        return false;
                    }
                } else if (!this$groupId.equals(other$groupId)) {
                    return false;
                }
                Object this$machineId = getMachineId();
                Object other$machineId = other.getMachineId();
                if (this$machineId == null) {
                    if (other$machineId != null) {
                        return false;
                    }
                } else if (!this$machineId.equals(other$machineId)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$avatar = getAvatar();
                Object other$avatar = other.getAvatar();
                if (this$avatar == null) {
                    if (other$avatar != null) {
                        return false;
                    }
                } else if (!this$avatar.equals(other$avatar)) {
                    return false;
                }
                Object this$groupName = getGroupName();
                Object other$groupName = other.getGroupName();
                if (this$groupName == null) {
                    if (other$groupName != null) {
                        return false;
                    }
                } else if (!this$groupName.equals(other$groupName)) {
                    return false;
                }
                Object this$calendarCode = getCalendarCode();
                Object other$calendarCode = other.getCalendarCode();
                if (this$calendarCode == null) {
                    if (other$calendarCode != null) {
                        return false;
                    }
                } else if (!this$calendarCode.equals(other$calendarCode)) {
                    return false;
                }
                Object this$calendarName = getCalendarName();
                Object other$calendarName = other.getCalendarName();
                if (this$calendarName == null) {
                    if (other$calendarName != null) {
                        return false;
                    }
                } else if (!this$calendarName.equals(other$calendarName)) {
                    return false;
                }
                Object this$machineCode = getMachineCode();
                Object other$machineCode = other.getMachineCode();
                if (this$machineCode == null) {
                    if (other$machineCode != null) {
                        return false;
                    }
                } else if (!this$machineCode.equals(other$machineCode)) {
                    return false;
                }
                Object this$machineName = getMachineName();
                Object other$machineName = other.getMachineName();
                if (this$machineName == null) {
                    if (other$machineName != null) {
                        return false;
                    }
                } else if (!this$machineName.equals(other$machineName)) {
                    return false;
                }
                Object this$machineBrand = getMachineBrand();
                Object other$machineBrand = other.getMachineBrand();
                if (this$machineBrand == null) {
                    if (other$machineBrand != null) {
                        return false;
                    }
                } else if (!this$machineBrand.equals(other$machineBrand)) {
                    return false;
                }
                Object this$properties = getProperties();
                Object other$properties = other.getProperties();
                if (this$properties == null) {
                    if (other$properties != null) {
                        return false;
                    }
                } else if (!this$properties.equals(other$properties)) {
                    return false;
                }
                Object this$createDept = getCreateDept();
                Object other$createDept = other.getCreateDept();
                if (this$createDept == null) {
                    if (other$createDept != null) {
                        return false;
                    }
                } else if (!this$createDept.equals(other$createDept)) {
                    return false;
                }
                Object this$createUser = getCreateUser();
                Object other$createUser = other.getCreateUser();
                return this$createUser == null ? other$createUser == null : this$createUser.equals(other$createUser);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationRealTimeStatusVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $groupId = getGroupId();
        int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $machineId = getMachineId();
        int result3 = (result2 * 59) + ($machineId == null ? 43 : $machineId.hashCode());
        Object $code = getCode();
        int result4 = (result3 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $avatar = getAvatar();
        int result6 = (result5 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $groupName = getGroupName();
        int result7 = (result6 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
        Object $calendarCode = getCalendarCode();
        int result8 = (result7 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $calendarName = getCalendarName();
        int result9 = (result8 * 59) + ($calendarName == null ? 43 : $calendarName.hashCode());
        Object $machineCode = getMachineCode();
        int result10 = (result9 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result11 = (result10 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $machineBrand = getMachineBrand();
        int result12 = (result11 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode());
        Object $properties = getProperties();
        int result13 = (result12 * 59) + ($properties == null ? 43 : $properties.hashCode());
        Object $createDept = getCreateDept();
        int result14 = (result13 * 59) + ($createDept == null ? 43 : $createDept.hashCode());
        Object $createUser = getCreateUser();
        return (result14 * 59) + ($createUser == null ? 43 : $createUser.hashCode());
    }
 
    public String toString() {
        return "WorkstationRealTimeStatusVO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", avatar=" + getAvatar() + ", groupId=" + getGroupId() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", calendarName=" + getCalendarName() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineBrand=" + getMachineBrand() + ", properties=" + getProperties() + ", createDept=" + getCreateDept() + ", createUser=" + getCreateUser() + ")";
    }
 
    public static WorkstationRealTimeStatusVOBuilder builder() {
        return new WorkstationRealTimeStatusVOBuilder();
    }
 
    public WorkstationRealTimeStatusVO(final Long id, final String code, final String name, final String avatar, final Long groupId, final String groupName, final String calendarCode, final String calendarName, final Long machineId, final String machineCode, final String machineName, final String machineBrand, final List<RealTimeStatusVO> properties, final String createDept, final String createUser) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.avatar = avatar;
        this.groupId = groupId;
        this.groupName = groupName;
        this.calendarCode = calendarCode;
        this.calendarName = calendarName;
        this.machineId = machineId;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.machineBrand = machineBrand;
        this.properties = properties;
        this.createDept = createDept;
        this.createUser = createUser;
    }
 
    public WorkstationRealTimeStatusVO() {
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public String getGroupName() {
        return this.groupName;
    }
 
    public String getCalendarCode() {
        return this.calendarCode;
    }
 
    public String getCalendarName() {
        return this.calendarName;
    }
 
    public Long getMachineId() {
        return this.machineId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public String getMachineBrand() {
        return this.machineBrand;
    }
 
    public List<RealTimeStatusVO> getProperties() {
        return this.properties;
    }
 
    public String getCreateDept() {
        return this.createDept;
    }
 
    public String getCreateUser() {
        return this.createUser;
    }
}