yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
package com.qianwen.smartman.modules.cps.excel;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationImport.class */
public class WorkstationImport implements Serializable {
    private static final long serialVersionUID = -8938927851683015090L;
    @ApiModelProperty("工位编号")
    private String code;
    @ApiModelProperty("工位名称")
    private String name;
    @ApiModelProperty("工位类型:机器、人工")
    private String typeName;
    @ApiModelProperty("工位组名称")
    private String groupName;
    @ApiModelProperty("生产日历编码")
    private String calendarCode;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    @ApiModelProperty("机器PIN码")
    private String machinePinCode;
    @ApiModelProperty("机器短编号")
    private String machineShortCode;
    @ExcelIgnore
    private String failReason;
    @ApiModelProperty("机器id")
    private Long machineId;
    @ApiModelProperty("关联设备方式, 0-选择设备  1-创建同名设备")
    private Integer linkWay;
    @ApiModelProperty("采集开关:0关/1开")
    private Integer collectSwitch;
    @ApiModelProperty("工位组id")
    private Long groupId;
    @ApiModelProperty("工位类型:空、机器、人工")
    private Integer type;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationImport$WorkstationImportBuilder.class */
    public static class WorkstationImportBuilder {
        private String code;
        private String name;
        private String typeName;
        private String groupName;
        private String calendarCode;
        private String machineCode;
        private String machineName;
        private String machinePinCode;
        private String machineShortCode;
        private String failReason;
        private Long machineId;
        private Integer linkWay;
        private Integer collectSwitch;
        private Long groupId;
        private Integer type;
 
        WorkstationImportBuilder() {
        }
 
        public WorkstationImportBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public WorkstationImportBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationImportBuilder typeName(final String typeName) {
            this.typeName = typeName;
            return this;
        }
 
        public WorkstationImportBuilder groupName(final String groupName) {
            this.groupName = groupName;
            return this;
        }
 
        public WorkstationImportBuilder calendarCode(final String calendarCode) {
            this.calendarCode = calendarCode;
            return this;
        }
 
        public WorkstationImportBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public WorkstationImportBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public WorkstationImportBuilder machinePinCode(final String machinePinCode) {
            this.machinePinCode = machinePinCode;
            return this;
        }
 
        public WorkstationImportBuilder machineShortCode(final String machineShortCode) {
            this.machineShortCode = machineShortCode;
            return this;
        }
 
        public WorkstationImportBuilder failReason(final String failReason) {
            this.failReason = failReason;
            return this;
        }
 
        public WorkstationImportBuilder machineId(final Long machineId) {
            this.machineId = machineId;
            return this;
        }
 
        public WorkstationImportBuilder linkWay(final Integer linkWay) {
            this.linkWay = linkWay;
            return this;
        }
 
        public WorkstationImportBuilder collectSwitch(final Integer collectSwitch) {
            this.collectSwitch = collectSwitch;
            return this;
        }
 
        public WorkstationImportBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public WorkstationImportBuilder type(final Integer type) {
            this.type = type;
            return this;
        }
 
        public WorkstationImport build() {
            return new WorkstationImport(this.code, this.name, this.typeName, this.groupName, this.calendarCode, this.machineCode, this.machineName, this.machinePinCode, this.machineShortCode, this.failReason, this.machineId, this.linkWay, this.collectSwitch, this.groupId, this.type);
        }
 
        public String toString() {
            return "WorkstationImport.WorkstationImportBuilder(code=" + this.code + ", name=" + this.name + ", typeName=" + this.typeName + ", groupName=" + this.groupName + ", calendarCode=" + this.calendarCode + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", failReason=" + this.failReason + ", machineId=" + this.machineId + ", linkWay=" + this.linkWay + ", collectSwitch=" + this.collectSwitch + ", groupId=" + this.groupId + ", type=" + this.type + ")";
        }
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setTypeName(final String typeName) {
        this.typeName = typeName;
    }
 
    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }
 
    public void setCalendarCode(final String calendarCode) {
        this.calendarCode = calendarCode;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setMachinePinCode(final String machinePinCode) {
        this.machinePinCode = machinePinCode;
    }
 
    public void setMachineShortCode(final String machineShortCode) {
        this.machineShortCode = machineShortCode;
    }
 
    public void setFailReason(final String failReason) {
        this.failReason = failReason;
    }
 
    public void setMachineId(final Long machineId) {
        this.machineId = machineId;
    }
 
    public void setLinkWay(final Integer linkWay) {
        this.linkWay = linkWay;
    }
 
    public void setCollectSwitch(final Integer collectSwitch) {
        this.collectSwitch = collectSwitch;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setType(final Integer type) {
        this.type = type;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationImport) {
            WorkstationImport other = (WorkstationImport) o;
            if (other.canEqual(this)) {
                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$linkWay = getLinkWay();
                Object other$linkWay = other.getLinkWay();
                if (this$linkWay == null) {
                    if (other$linkWay != null) {
                        return false;
                    }
                } else if (!this$linkWay.equals(other$linkWay)) {
                    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$type = getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    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$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$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$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$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$failReason = getFailReason();
                Object other$failReason = other.getFailReason();
                return this$failReason == null ? other$failReason == null : this$failReason.equals(other$failReason);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationImport;
    }
 
    public int hashCode() {
        Object $machineId = getMachineId();
        int result = (1 * 59) + ($machineId == null ? 43 : $machineId.hashCode());
        Object $linkWay = getLinkWay();
        int result2 = (result * 59) + ($linkWay == null ? 43 : $linkWay.hashCode());
        Object $collectSwitch = getCollectSwitch();
        int result3 = (result2 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
        Object $groupId = getGroupId();
        int result4 = (result3 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $type = getType();
        int result5 = (result4 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $code = getCode();
        int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $typeName = getTypeName();
        int result8 = (result7 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
        Object $groupName = getGroupName();
        int result9 = (result8 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
        Object $calendarCode = getCalendarCode();
        int result10 = (result9 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $machineCode = getMachineCode();
        int result11 = (result10 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result12 = (result11 * 59) + ($machineName == null ? 43 : $machineName.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 $failReason = getFailReason();
        return (result14 * 59) + ($failReason == null ? 43 : $failReason.hashCode());
    }
 
    public String toString() {
        return "WorkstationImport(code=" + getCode() + ", name=" + getName() + ", typeName=" + getTypeName() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", failReason=" + getFailReason() + ", machineId=" + getMachineId() + ", linkWay=" + getLinkWay() + ", collectSwitch=" + getCollectSwitch() + ", groupId=" + getGroupId() + ", type=" + getType() + ")";
    }
 
    public static WorkstationImportBuilder builder() {
        return new WorkstationImportBuilder();
    }
 
    public WorkstationImport(final String code, final String name, final String typeName, final String groupName, final String calendarCode, final String machineCode, final String machineName, final String machinePinCode, final String machineShortCode, final String failReason, final Long machineId, final Integer linkWay, final Integer collectSwitch, final Long groupId, final Integer type) {
        this.code = code;
        this.name = name;
        this.typeName = typeName;
        this.groupName = groupName;
        this.calendarCode = calendarCode;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.machinePinCode = machinePinCode;
        this.machineShortCode = machineShortCode;
        this.failReason = failReason;
        this.machineId = machineId;
        this.linkWay = linkWay;
        this.collectSwitch = collectSwitch;
        this.groupId = groupId;
        this.type = type;
    }
 
    public WorkstationImport() {
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getTypeName() {
        return this.typeName;
    }
 
    public String getGroupName() {
        return this.groupName;
    }
 
    public String getCalendarCode() {
        return this.calendarCode;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public String getMachinePinCode() {
        return this.machinePinCode;
    }
 
    public String getMachineShortCode() {
        return this.machineShortCode;
    }
 
    public String getFailReason() {
        return this.failReason;
    }
 
    public Long getMachineId() {
        return this.machineId;
    }
 
    public Integer getLinkWay() {
        return this.linkWay;
    }
 
    public Integer getCollectSwitch() {
        return this.collectSwitch;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public Integer getType() {
        return this.type;
    }
}