yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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.cps.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MachineVO.class */
public class MachineVO implements Serializable {
    private static final long serialVersionUID = -883848031177958203L;
    @ApiModelProperty("id")
    public Long id;
    @ApiModelProperty("扩展id")
    public String extendId;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    @ApiModelProperty("采集开关:0关/1开")
    private Integer collectSwitch;
    @ApiModelProperty("采集驱动")
    private String collectDriver;
    @ApiModelProperty("类型名称")
    private String typeName;
    @ApiModelProperty("机器类型")
    private String machineType;
    @ApiModelProperty("机器规格")
    private String machineModel;
    @ApiModelProperty("机器品牌")
    private String brand;
    @ApiModelProperty("机器组id")
    private Long groupId;
    @ApiModelProperty("机器PIN码")
    private String machinePinCode;
    @ApiModelProperty("机器短编号")
    private String machineShortCode;
    @ApiModelProperty("业务状态 1启用 0 停用")
    private Integer status;
    @ApiModelProperty("外部键")
    private String externalKey;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MachineVO$MachineVOBuilder.class */
    public static class MachineVOBuilder {
        private Long id;
        private String extendId;
        private String machineCode;
        private String machineName;
        private Integer collectSwitch;
        private String collectDriver;
        private String typeName;
        private String machineType;
        private String machineModel;
        private String brand;
        private Long groupId;
        private String machinePinCode;
        private String machineShortCode;
        private Integer status;
        private String externalKey;
 
        MachineVOBuilder() {
        }
 
        public MachineVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public MachineVOBuilder extendId(final String extendId) {
            this.extendId = extendId;
            return this;
        }
 
        public MachineVOBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public MachineVOBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public MachineVOBuilder collectSwitch(final Integer collectSwitch) {
            this.collectSwitch = collectSwitch;
            return this;
        }
 
        public MachineVOBuilder collectDriver(final String collectDriver) {
            this.collectDriver = collectDriver;
            return this;
        }
 
        public MachineVOBuilder typeName(final String typeName) {
            this.typeName = typeName;
            return this;
        }
 
        public MachineVOBuilder machineType(final String machineType) {
            this.machineType = machineType;
            return this;
        }
 
        public MachineVOBuilder machineModel(final String machineModel) {
            this.machineModel = machineModel;
            return this;
        }
 
        public MachineVOBuilder brand(final String brand) {
            this.brand = brand;
            return this;
        }
 
        public MachineVOBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public MachineVOBuilder machinePinCode(final String machinePinCode) {
            this.machinePinCode = machinePinCode;
            return this;
        }
 
        public MachineVOBuilder machineShortCode(final String machineShortCode) {
            this.machineShortCode = machineShortCode;
            return this;
        }
 
        public MachineVOBuilder status(final Integer status) {
            this.status = status;
            return this;
        }
 
        public MachineVOBuilder externalKey(final String externalKey) {
            this.externalKey = externalKey;
            return this;
        }
 
        public MachineVO build() {
            return new MachineVO(this.id, this.extendId, this.machineCode, this.machineName, this.collectSwitch, this.collectDriver, this.typeName, this.machineType, this.machineModel, this.brand, this.groupId, this.machinePinCode, this.machineShortCode, this.status, this.externalKey);
        }
 
        public String toString() {
            return "MachineVO.MachineVOBuilder(id=" + this.id + ", extendId=" + this.extendId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", collectSwitch=" + this.collectSwitch + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ", machineType=" + this.machineType + ", machineModel=" + this.machineModel + ", brand=" + this.brand + ", groupId=" + this.groupId + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", status=" + this.status + ", externalKey=" + this.externalKey + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setExtendId(final String extendId) {
        this.extendId = extendId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setCollectSwitch(final Integer collectSwitch) {
        this.collectSwitch = collectSwitch;
    }
 
    public void setCollectDriver(final String collectDriver) {
        this.collectDriver = collectDriver;
    }
 
    public void setTypeName(final String typeName) {
        this.typeName = typeName;
    }
 
    public void setMachineType(final String machineType) {
        this.machineType = machineType;
    }
 
    public void setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
    }
 
    public void setBrand(final String brand) {
        this.brand = brand;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setMachinePinCode(final String machinePinCode) {
        this.machinePinCode = machinePinCode;
    }
 
    public void setMachineShortCode(final String machineShortCode) {
        this.machineShortCode = machineShortCode;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setExternalKey(final String externalKey) {
        this.externalKey = externalKey;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MachineVO) {
            MachineVO other = (MachineVO) 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$collectSwitch = getCollectSwitch();
                Object other$collectSwitch = other.getCollectSwitch();
                if (this$collectSwitch == null) {
                    if (other$collectSwitch != null) {
                        return false;
                    }
                } else if (!this$collectSwitch.equals(other$collectSwitch)) {
                    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$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }
                Object this$extendId = getExtendId();
                Object other$extendId = other.getExtendId();
                if (this$extendId == null) {
                    if (other$extendId != null) {
                        return false;
                    }
                } else if (!this$extendId.equals(other$extendId)) {
                    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$collectDriver = getCollectDriver();
                Object other$collectDriver = other.getCollectDriver();
                if (this$collectDriver == null) {
                    if (other$collectDriver != null) {
                        return false;
                    }
                } else if (!this$collectDriver.equals(other$collectDriver)) {
                    return false;
                }
                Object this$typeName = getTypeName();
                Object other$typeName = other.getTypeName();
                if (this$typeName == null) {
                    if (other$typeName != null) {
                        return false;
                    }
                } else if (!this$typeName.equals(other$typeName)) {
                    return false;
                }
                Object this$machineType = getMachineType();
                Object other$machineType = other.getMachineType();
                if (this$machineType == null) {
                    if (other$machineType != null) {
                        return false;
                    }
                } else if (!this$machineType.equals(other$machineType)) {
                    return false;
                }
                Object this$machineModel = getMachineModel();
                Object other$machineModel = other.getMachineModel();
                if (this$machineModel == null) {
                    if (other$machineModel != null) {
                        return false;
                    }
                } else if (!this$machineModel.equals(other$machineModel)) {
                    return false;
                }
                Object this$brand = getBrand();
                Object other$brand = other.getBrand();
                if (this$brand == null) {
                    if (other$brand != null) {
                        return false;
                    }
                } else if (!this$brand.equals(other$brand)) {
                    return false;
                }
                Object this$machinePinCode = getMachinePinCode();
                Object other$machinePinCode = other.getMachinePinCode();
                if (this$machinePinCode == null) {
                    if (other$machinePinCode != null) {
                        return false;
                    }
                } else if (!this$machinePinCode.equals(other$machinePinCode)) {
                    return false;
                }
                Object this$machineShortCode = getMachineShortCode();
                Object other$machineShortCode = other.getMachineShortCode();
                if (this$machineShortCode == null) {
                    if (other$machineShortCode != null) {
                        return false;
                    }
                } else if (!this$machineShortCode.equals(other$machineShortCode)) {
                    return false;
                }
                Object this$externalKey = getExternalKey();
                Object other$externalKey = other.getExternalKey();
                return this$externalKey == null ? other$externalKey == null : this$externalKey.equals(other$externalKey);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MachineVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $collectSwitch = getCollectSwitch();
        int result2 = (result * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
        Object $groupId = getGroupId();
        int result3 = (result2 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $status = getStatus();
        int result4 = (result3 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $extendId = getExtendId();
        int result5 = (result4 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
        Object $machineCode = getMachineCode();
        int result6 = (result5 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result7 = (result6 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $collectDriver = getCollectDriver();
        int result8 = (result7 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode());
        Object $typeName = getTypeName();
        int result9 = (result8 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
        Object $machineType = getMachineType();
        int result10 = (result9 * 59) + ($machineType == null ? 43 : $machineType.hashCode());
        Object $machineModel = getMachineModel();
        int result11 = (result10 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
        Object $brand = getBrand();
        int result12 = (result11 * 59) + ($brand == null ? 43 : $brand.hashCode());
        Object $machinePinCode = getMachinePinCode();
        int result13 = (result12 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
        Object $machineShortCode = getMachineShortCode();
        int result14 = (result13 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
        Object $externalKey = getExternalKey();
        return (result14 * 59) + ($externalKey == null ? 43 : $externalKey.hashCode());
    }
 
    public String toString() {
        return "MachineVO(id=" + getId() + ", extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", collectSwitch=" + getCollectSwitch() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ", machineType=" + getMachineType() + ", machineModel=" + getMachineModel() + ", brand=" + getBrand() + ", groupId=" + getGroupId() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", status=" + getStatus() + ", externalKey=" + getExternalKey() + ")";
    }
 
    public static MachineVOBuilder builder() {
        return new MachineVOBuilder();
    }
 
    public MachineVO(final Long id, final String extendId, final String machineCode, final String machineName, final Integer collectSwitch, final String collectDriver, final String typeName, final String machineType, final String machineModel, final String brand, final Long groupId, final String machinePinCode, final String machineShortCode, final Integer status, final String externalKey) {
        this.id = id;
        this.extendId = extendId;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.collectSwitch = collectSwitch;
        this.collectDriver = collectDriver;
        this.typeName = typeName;
        this.machineType = machineType;
        this.machineModel = machineModel;
        this.brand = brand;
        this.groupId = groupId;
        this.machinePinCode = machinePinCode;
        this.machineShortCode = machineShortCode;
        this.status = status;
        this.externalKey = externalKey;
    }
 
    public MachineVO() {
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getExtendId() {
        return this.extendId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public Integer getCollectSwitch() {
        return this.collectSwitch;
    }
 
    public String getCollectDriver() {
        return this.collectDriver;
    }
 
    public String getTypeName() {
        return this.typeName;
    }
 
    public String getMachineType() {
        return this.machineType;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
 
    public String getBrand() {
        return this.brand;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public String getMachinePinCode() {
        return this.machinePinCode;
    }
 
    public String getMachineShortCode() {
        return this.machineShortCode;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public String getExternalKey() {
        return this.externalKey;
    }
}