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
package com.qianwen.smartman.modules.cps.vo;
 
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 javax.validation.constraints.NotNull;
 
public class WorkstationWcsVO implements Serializable {
    private static final long serialVersionUID = -8474615909932057153L;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("id")
    private Long id;
    @NotNull(message = "workstationWcs.workstationId.notNull")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "工位id", required = true)
    private Long workstationId;
    @NotNull(message = "workstationWcs.paramDesc.notNull")
    @ApiModelProperty(value = "工位变量名称", required = true)
    private String dataItem;
    @NotNull(message = "workstationWcs.dataType.notNull")
    @ApiModelProperty(value = "采集用途 0-状态 1-产量 2-其他", required = true)
    private Integer dataType;
    @ApiModelProperty("采集用途描述")
    private String dataTypeDesc;
    @NotNull(message = "workstationWcs.collectItem.notNull")
    @ApiModelProperty(value = "采集项id", required = true)
    private Long dmpVariablesId;
    @NotNull(message = "workstationWcs.collectItem.notNull")
    @ApiModelProperty(value = "采集变量名称", required = true)
    private String collectItemDesc;
    @ApiModelProperty(value = "数据类型", required = true)
    private Integer dmpVariablesDateType;
    @ApiModelProperty("采集项")
    private String collectSettingItem;
    @ApiModelProperty(value = "大屏", required = false)
    private Boolean bigScreen;
    @ApiModelProperty(value = "实时数据", required = false)
    private Boolean realTimeData;
    @ApiModelProperty(value = "过程参数", required = false)
    private Boolean processParameter;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long usageId;
    private String usageName;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationWcsVO$WorkstationWcsVOBuilder.class */
    public static class WorkstationWcsVOBuilder {
        private Long id;
        private Long workstationId;
        private String dataItem;
        private Integer dataType;
        private String dataTypeDesc;
        private Long dmpVariablesId;
        private String collectItemDesc;
        private Integer dmpVariablesDateType;
        private String collectSettingItem;
        private Boolean bigScreen;
        private Boolean realTimeData;
        private Boolean processParameter;
        private Long usageId;
        private String usageName;
 
        WorkstationWcsVOBuilder() {
        }
 
        public WorkstationWcsVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public WorkstationWcsVOBuilder workstationId(final Long workstationId) {
            this.workstationId = workstationId;
            return this;
        }
 
        public WorkstationWcsVOBuilder dataItem(final String dataItem) {
            this.dataItem = dataItem;
            return this;
        }
 
        public WorkstationWcsVOBuilder dataType(final Integer dataType) {
            this.dataType = dataType;
            return this;
        }
 
        public WorkstationWcsVOBuilder dataTypeDesc(final String dataTypeDesc) {
            this.dataTypeDesc = dataTypeDesc;
            return this;
        }
 
        public WorkstationWcsVOBuilder dmpVariablesId(final Long dmpVariablesId) {
            this.dmpVariablesId = dmpVariablesId;
            return this;
        }
 
        public WorkstationWcsVOBuilder collectItemDesc(final String collectItemDesc) {
            this.collectItemDesc = collectItemDesc;
            return this;
        }
 
        public WorkstationWcsVOBuilder dmpVariablesDateType(final Integer dmpVariablesDateType) {
            this.dmpVariablesDateType = dmpVariablesDateType;
            return this;
        }
 
        public WorkstationWcsVOBuilder collectSettingItem(final String collectSettingItem) {
            this.collectSettingItem = collectSettingItem;
            return this;
        }
 
        public WorkstationWcsVOBuilder bigScreen(final Boolean bigScreen) {
            this.bigScreen = bigScreen;
            return this;
        }
 
        public WorkstationWcsVOBuilder realTimeData(final Boolean realTimeData) {
            this.realTimeData = realTimeData;
            return this;
        }
 
        public WorkstationWcsVOBuilder processParameter(final Boolean processParameter) {
            this.processParameter = processParameter;
            return this;
        }
 
        public WorkstationWcsVOBuilder usageId(final Long usageId) {
            this.usageId = usageId;
            return this;
        }
 
        public WorkstationWcsVOBuilder usageName(final String usageName) {
            this.usageName = usageName;
            return this;
        }
 
        public WorkstationWcsVO build() {
            return new WorkstationWcsVO(this.id, this.workstationId, this.dataItem, this.dataType, this.dataTypeDesc, this.dmpVariablesId, this.collectItemDesc, this.dmpVariablesDateType, this.collectSettingItem, this.bigScreen, this.realTimeData, this.processParameter, this.usageId, this.usageName);
        }
 
        public String toString() {
            return "WorkstationWcsVO.WorkstationWcsVOBuilder(id=" + this.id + ", workstationId=" + this.workstationId + ", dataItem=" + this.dataItem + ", dataType=" + this.dataType + ", dataTypeDesc=" + this.dataTypeDesc + ", dmpVariablesId=" + this.dmpVariablesId + ", collectItemDesc=" + this.collectItemDesc + ", dmpVariablesDateType=" + this.dmpVariablesDateType + ", collectSettingItem=" + this.collectSettingItem + ", bigScreen=" + this.bigScreen + ", realTimeData=" + this.realTimeData + ", processParameter=" + this.processParameter + ", usageId=" + this.usageId + ", usageName=" + this.usageName + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setDataItem(final String dataItem) {
        this.dataItem = dataItem;
    }
 
    public void setDataType(final Integer dataType) {
        this.dataType = dataType;
    }
 
    public void setDataTypeDesc(final String dataTypeDesc) {
        this.dataTypeDesc = dataTypeDesc;
    }
 
    public void setDmpVariablesId(final Long dmpVariablesId) {
        this.dmpVariablesId = dmpVariablesId;
    }
 
    public void setCollectItemDesc(final String collectItemDesc) {
        this.collectItemDesc = collectItemDesc;
    }
 
    public void setDmpVariablesDateType(final Integer dmpVariablesDateType) {
        this.dmpVariablesDateType = dmpVariablesDateType;
    }
 
    public void setCollectSettingItem(final String collectSettingItem) {
        this.collectSettingItem = collectSettingItem;
    }
 
    public void setBigScreen(final Boolean bigScreen) {
        this.bigScreen = bigScreen;
    }
 
    public void setRealTimeData(final Boolean realTimeData) {
        this.realTimeData = realTimeData;
    }
 
    public void setProcessParameter(final Boolean processParameter) {
        this.processParameter = processParameter;
    }
 
    public void setUsageId(final Long usageId) {
        this.usageId = usageId;
    }
 
    public void setUsageName(final String usageName) {
        this.usageName = usageName;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationWcsVO) {
            WorkstationWcsVO other = (WorkstationWcsVO) 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$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$dataType = getDataType();
                Object other$dataType = other.getDataType();
                if (this$dataType == null) {
                    if (other$dataType != null) {
                        return false;
                    }
                } else if (!this$dataType.equals(other$dataType)) {
                    return false;
                }
                Object this$dmpVariablesId = getDmpVariablesId();
                Object other$dmpVariablesId = other.getDmpVariablesId();
                if (this$dmpVariablesId == null) {
                    if (other$dmpVariablesId != null) {
                        return false;
                    }
                } else if (!this$dmpVariablesId.equals(other$dmpVariablesId)) {
                    return false;
                }
                Object this$dmpVariablesDateType = getDmpVariablesDateType();
                Object other$dmpVariablesDateType = other.getDmpVariablesDateType();
                if (this$dmpVariablesDateType == null) {
                    if (other$dmpVariablesDateType != null) {
                        return false;
                    }
                } else if (!this$dmpVariablesDateType.equals(other$dmpVariablesDateType)) {
                    return false;
                }
                Object this$bigScreen = getBigScreen();
                Object other$bigScreen = other.getBigScreen();
                if (this$bigScreen == null) {
                    if (other$bigScreen != null) {
                        return false;
                    }
                } else if (!this$bigScreen.equals(other$bigScreen)) {
                    return false;
                }
                Object this$realTimeData = getRealTimeData();
                Object other$realTimeData = other.getRealTimeData();
                if (this$realTimeData == null) {
                    if (other$realTimeData != null) {
                        return false;
                    }
                } else if (!this$realTimeData.equals(other$realTimeData)) {
                    return false;
                }
                Object this$processParameter = getProcessParameter();
                Object other$processParameter = other.getProcessParameter();
                if (this$processParameter == null) {
                    if (other$processParameter != null) {
                        return false;
                    }
                } else if (!this$processParameter.equals(other$processParameter)) {
                    return false;
                }
                Object this$usageId = getUsageId();
                Object other$usageId = other.getUsageId();
                if (this$usageId == null) {
                    if (other$usageId != null) {
                        return false;
                    }
                } else if (!this$usageId.equals(other$usageId)) {
                    return false;
                }
                Object this$dataItem = getDataItem();
                Object other$dataItem = other.getDataItem();
                if (this$dataItem == null) {
                    if (other$dataItem != null) {
                        return false;
                    }
                } else if (!this$dataItem.equals(other$dataItem)) {
                    return false;
                }
                Object this$dataTypeDesc = getDataTypeDesc();
                Object other$dataTypeDesc = other.getDataTypeDesc();
                if (this$dataTypeDesc == null) {
                    if (other$dataTypeDesc != null) {
                        return false;
                    }
                } else if (!this$dataTypeDesc.equals(other$dataTypeDesc)) {
                    return false;
                }
                Object this$collectItemDesc = getCollectItemDesc();
                Object other$collectItemDesc = other.getCollectItemDesc();
                if (this$collectItemDesc == null) {
                    if (other$collectItemDesc != null) {
                        return false;
                    }
                } else if (!this$collectItemDesc.equals(other$collectItemDesc)) {
                    return false;
                }
                Object this$collectSettingItem = getCollectSettingItem();
                Object other$collectSettingItem = other.getCollectSettingItem();
                if (this$collectSettingItem == null) {
                    if (other$collectSettingItem != null) {
                        return false;
                    }
                } else if (!this$collectSettingItem.equals(other$collectSettingItem)) {
                    return false;
                }
                Object this$usageName = getUsageName();
                Object other$usageName = other.getUsageName();
                return this$usageName == null ? other$usageName == null : this$usageName.equals(other$usageName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationWcsVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $workstationId = getWorkstationId();
        int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $dataType = getDataType();
        int result3 = (result2 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
        Object $dmpVariablesId = getDmpVariablesId();
        int result4 = (result3 * 59) + ($dmpVariablesId == null ? 43 : $dmpVariablesId.hashCode());
        Object $dmpVariablesDateType = getDmpVariablesDateType();
        int result5 = (result4 * 59) + ($dmpVariablesDateType == null ? 43 : $dmpVariablesDateType.hashCode());
        Object $bigScreen = getBigScreen();
        int result6 = (result5 * 59) + ($bigScreen == null ? 43 : $bigScreen.hashCode());
        Object $realTimeData = getRealTimeData();
        int result7 = (result6 * 59) + ($realTimeData == null ? 43 : $realTimeData.hashCode());
        Object $processParameter = getProcessParameter();
        int result8 = (result7 * 59) + ($processParameter == null ? 43 : $processParameter.hashCode());
        Object $usageId = getUsageId();
        int result9 = (result8 * 59) + ($usageId == null ? 43 : $usageId.hashCode());
        Object $dataItem = getDataItem();
        int result10 = (result9 * 59) + ($dataItem == null ? 43 : $dataItem.hashCode());
        Object $dataTypeDesc = getDataTypeDesc();
        int result11 = (result10 * 59) + ($dataTypeDesc == null ? 43 : $dataTypeDesc.hashCode());
        Object $collectItemDesc = getCollectItemDesc();
        int result12 = (result11 * 59) + ($collectItemDesc == null ? 43 : $collectItemDesc.hashCode());
        Object $collectSettingItem = getCollectSettingItem();
        int result13 = (result12 * 59) + ($collectSettingItem == null ? 43 : $collectSettingItem.hashCode());
        Object $usageName = getUsageName();
        return (result13 * 59) + ($usageName == null ? 43 : $usageName.hashCode());
    }
 
    public String toString() {
        return "WorkstationWcsVO(id=" + getId() + ", workstationId=" + getWorkstationId() + ", dataItem=" + getDataItem() + ", dataType=" + getDataType() + ", dataTypeDesc=" + getDataTypeDesc() + ", dmpVariablesId=" + getDmpVariablesId() + ", collectItemDesc=" + getCollectItemDesc() + ", dmpVariablesDateType=" + getDmpVariablesDateType() + ", collectSettingItem=" + getCollectSettingItem() + ", bigScreen=" + getBigScreen() + ", realTimeData=" + getRealTimeData() + ", processParameter=" + getProcessParameter() + ", usageId=" + getUsageId() + ", usageName=" + getUsageName() + ")";
    }
 
    public static WorkstationWcsVOBuilder builder() {
        return new WorkstationWcsVOBuilder();
    }
 
    public WorkstationWcsVO(final Long id, final Long workstationId, final String dataItem, final Integer dataType, final String dataTypeDesc, final Long dmpVariablesId, final String collectItemDesc, final Integer dmpVariablesDateType, final String collectSettingItem, final Boolean bigScreen, final Boolean realTimeData, final Boolean processParameter, final Long usageId, final String usageName) {
        this.id = id;
        this.workstationId = workstationId;
        this.dataItem = dataItem;
        this.dataType = dataType;
        this.dataTypeDesc = dataTypeDesc;
        this.dmpVariablesId = dmpVariablesId;
        this.collectItemDesc = collectItemDesc;
        this.dmpVariablesDateType = dmpVariablesDateType;
        this.collectSettingItem = collectSettingItem;
        this.bigScreen = bigScreen;
        this.realTimeData = realTimeData;
        this.processParameter = processParameter;
        this.usageId = usageId;
        this.usageName = usageName;
    }
 
    public WorkstationWcsVO() {
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getDataItem() {
        return this.dataItem;
    }
 
    public Integer getDataType() {
        return this.dataType;
    }
 
    public String getDataTypeDesc() {
        return this.dataTypeDesc;
    }
 
    public Long getDmpVariablesId() {
        return this.dmpVariablesId;
    }
 
    public String getCollectItemDesc() {
        return this.collectItemDesc;
    }
 
    public Integer getDmpVariablesDateType() {
        return this.dmpVariablesDateType;
    }
 
    public String getCollectSettingItem() {
        return this.collectSettingItem;
    }
 
    public Boolean getBigScreen() {
        return this.bigScreen;
    }
 
    public Boolean getRealTimeData() {
        return this.realTimeData;
    }
 
    public Boolean getProcessParameter() {
        return this.processParameter;
    }
 
    public Long getUsageId() {
        return this.usageId;
    }
 
    public String getUsageName() {
        return this.usageName;
    }
}