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
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_workstation")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Workstation.class */
public class Workstation extends TenantEntity {
    private static final long serialVersionUID = -883848031177958203L;
    private String avatar;
    private String code;
    private String name;
    private Integer type;
    @TableField("calendar_code")
    private String calendarCode;
    @TableField("calendar_code_waiting")
    private String calendarCodeWaiting;
    @TableField("standard_efficiency")
    private BigDecimal standardEfficiency;
    private Long productionCapacityGroup;
    @TableField("support_cnc_rw")
    private Integer supportCncRw;
    @TableField("device_type")
    private Integer deviceType;
    @TableField("properties")
    private Integer properties;
    @TableField("transmission_method")
    private Integer transmissionMethod;
    @TableField(exist = false)
    private String ftpCatalogue;
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setType(final Integer type) {
        this.type = type;
    }
 
    public void setCalendarCode(final String calendarCode) {
        this.calendarCode = calendarCode;
    }
 
    public void setCalendarCodeWaiting(final String calendarCodeWaiting) {
        this.calendarCodeWaiting = calendarCodeWaiting;
    }
 
    public void setStandardEfficiency(final BigDecimal standardEfficiency) {
        this.standardEfficiency = standardEfficiency;
    }
 
    public void setProductionCapacityGroup(final Long productionCapacityGroup) {
        this.productionCapacityGroup = productionCapacityGroup;
    }
 
    public void setSupportCncRw(final Integer supportCncRw) {
        this.supportCncRw = supportCncRw;
    }
 
    public void setDeviceType(final Integer deviceType) {
        this.deviceType = deviceType;
    }
 
    public void setProperties(final Integer properties) {
        this.properties = properties;
    }
 
    public void setTransmissionMethod(final Integer transmissionMethod) {
        this.transmissionMethod = transmissionMethod;
    }
 
    public void setFtpCatalogue(final String ftpCatalogue) {
        this.ftpCatalogue = ftpCatalogue;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Workstation) {
            Workstation other = (Workstation) o;
            if (other.canEqual(this)) {
                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$productionCapacityGroup = getProductionCapacityGroup();
                Object other$productionCapacityGroup = other.getProductionCapacityGroup();
                if (this$productionCapacityGroup == null) {
                    if (other$productionCapacityGroup != null) {
                        return false;
                    }
                } else if (!this$productionCapacityGroup.equals(other$productionCapacityGroup)) {
                    return false;
                }
                Object this$supportCncRw = getSupportCncRw();
                Object other$supportCncRw = other.getSupportCncRw();
                if (this$supportCncRw == null) {
                    if (other$supportCncRw != null) {
                        return false;
                    }
                } else if (!this$supportCncRw.equals(other$supportCncRw)) {
                    return false;
                }
                Object this$deviceType = getDeviceType();
                Object other$deviceType = other.getDeviceType();
                if (this$deviceType == null) {
                    if (other$deviceType != null) {
                        return false;
                    }
                } else if (!this$deviceType.equals(other$deviceType)) {
                    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$transmissionMethod = getTransmissionMethod();
                Object other$transmissionMethod = other.getTransmissionMethod();
                if (this$transmissionMethod == null) {
                    if (other$transmissionMethod != null) {
                        return false;
                    }
                } else if (!this$transmissionMethod.equals(other$transmissionMethod)) {
                    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$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$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$calendarCodeWaiting = getCalendarCodeWaiting();
                Object other$calendarCodeWaiting = other.getCalendarCodeWaiting();
                if (this$calendarCodeWaiting == null) {
                    if (other$calendarCodeWaiting != null) {
                        return false;
                    }
                } else if (!this$calendarCodeWaiting.equals(other$calendarCodeWaiting)) {
                    return false;
                }
                Object this$standardEfficiency = getStandardEfficiency();
                Object other$standardEfficiency = other.getStandardEfficiency();
                if (this$standardEfficiency == null) {
                    if (other$standardEfficiency != null) {
                        return false;
                    }
                } else if (!this$standardEfficiency.equals(other$standardEfficiency)) {
                    return false;
                }
                Object this$ftpCatalogue = getFtpCatalogue();
                Object other$ftpCatalogue = other.getFtpCatalogue();
                return this$ftpCatalogue == null ? other$ftpCatalogue == null : this$ftpCatalogue.equals(other$ftpCatalogue);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Workstation;
    }
 
    public int hashCode() {
        Object $type = getType();
        int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $productionCapacityGroup = getProductionCapacityGroup();
        int result2 = (result * 59) + ($productionCapacityGroup == null ? 43 : $productionCapacityGroup.hashCode());
        Object $supportCncRw = getSupportCncRw();
        int result3 = (result2 * 59) + ($supportCncRw == null ? 43 : $supportCncRw.hashCode());
        Object $deviceType = getDeviceType();
        int result4 = (result3 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
        Object $properties = getProperties();
        int result5 = (result4 * 59) + ($properties == null ? 43 : $properties.hashCode());
        Object $transmissionMethod = getTransmissionMethod();
        int result6 = (result5 * 59) + ($transmissionMethod == null ? 43 : $transmissionMethod.hashCode());
        Object $avatar = getAvatar();
        int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $code = getCode();
        int result8 = (result7 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result9 = (result8 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $calendarCode = getCalendarCode();
        int result10 = (result9 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $calendarCodeWaiting = getCalendarCodeWaiting();
        int result11 = (result10 * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode());
        Object $standardEfficiency = getStandardEfficiency();
        int result12 = (result11 * 59) + ($standardEfficiency == null ? 43 : $standardEfficiency.hashCode());
        Object $ftpCatalogue = getFtpCatalogue();
        return (result12 * 59) + ($ftpCatalogue == null ? 43 : $ftpCatalogue.hashCode());
    }
 
    public String toString() {
        return "Workstation(avatar=" + getAvatar() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", standardEfficiency=" + getStandardEfficiency() + ", productionCapacityGroup=" + getProductionCapacityGroup() + ", supportCncRw=" + getSupportCncRw() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", transmissionMethod=" + getTransmissionMethod() + ", ftpCatalogue=" + getFtpCatalogue() + ")";
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Workstation$WorkstationBuilder.class */
    public static class WorkstationBuilder {
        private String avatar;
        private String code;
        private String name;
        private Integer type;
        private String calendarCode;
        private String calendarCodeWaiting;
        private BigDecimal standardEfficiency;
        private Long productionCapacityGroup;
        private Integer supportCncRw;
        private Integer deviceType;
        private Integer properties;
        private Integer transmissionMethod;
        private String ftpCatalogue;
 
        WorkstationBuilder() {
        }
 
        public WorkstationBuilder avatar(final String avatar) {
            this.avatar = avatar;
            return this;
        }
 
        public WorkstationBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public WorkstationBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationBuilder type(final Integer type) {
            this.type = type;
            return this;
        }
 
        public WorkstationBuilder calendarCode(final String calendarCode) {
            this.calendarCode = calendarCode;
            return this;
        }
 
        public WorkstationBuilder calendarCodeWaiting(final String calendarCodeWaiting) {
            this.calendarCodeWaiting = calendarCodeWaiting;
            return this;
        }
 
        public WorkstationBuilder standardEfficiency(final BigDecimal standardEfficiency) {
            this.standardEfficiency = standardEfficiency;
            return this;
        }
 
        public WorkstationBuilder productionCapacityGroup(final Long productionCapacityGroup) {
            this.productionCapacityGroup = productionCapacityGroup;
            return this;
        }
 
        public WorkstationBuilder supportCncRw(final Integer supportCncRw) {
            this.supportCncRw = supportCncRw;
            return this;
        }
 
        public WorkstationBuilder deviceType(final Integer deviceType) {
            this.deviceType = deviceType;
            return this;
        }
 
        public WorkstationBuilder properties(final Integer properties) {
            this.properties = properties;
            return this;
        }
 
        public WorkstationBuilder transmissionMethod(final Integer transmissionMethod) {
            this.transmissionMethod = transmissionMethod;
            return this;
        }
 
        public WorkstationBuilder ftpCatalogue(final String ftpCatalogue) {
            this.ftpCatalogue = ftpCatalogue;
            return this;
        }
 
        public Workstation build() {
            return new Workstation(this.avatar, this.code, this.name, this.type, this.calendarCode, this.calendarCodeWaiting, this.standardEfficiency, this.productionCapacityGroup, this.supportCncRw, this.deviceType, this.properties, this.transmissionMethod, this.ftpCatalogue);
        }
 
        public String toString() {
            return "Workstation.WorkstationBuilder(avatar=" + this.avatar + ", code=" + this.code + ", name=" + this.name + ", type=" + this.type + ", calendarCode=" + this.calendarCode + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ", standardEfficiency=" + this.standardEfficiency + ", productionCapacityGroup=" + this.productionCapacityGroup + ", supportCncRw=" + this.supportCncRw + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", transmissionMethod=" + this.transmissionMethod + ", ftpCatalogue=" + this.ftpCatalogue + ")";
        }
    }
 
    public static WorkstationBuilder builder() {
        return new WorkstationBuilder();
    }
 
    public Workstation(final String avatar, final String code, final String name, final Integer type, final String calendarCode, final String calendarCodeWaiting, final BigDecimal standardEfficiency, final Long productionCapacityGroup, final Integer supportCncRw, final Integer deviceType, final Integer properties, final Integer transmissionMethod, final String ftpCatalogue) {
        this.avatar = avatar;
        this.code = code;
        this.name = name;
        this.type = type;
        this.calendarCode = calendarCode;
        this.calendarCodeWaiting = calendarCodeWaiting;
        this.standardEfficiency = standardEfficiency;
        this.productionCapacityGroup = productionCapacityGroup;
        this.supportCncRw = supportCncRw;
        this.deviceType = deviceType;
        this.properties = properties;
        this.transmissionMethod = transmissionMethod;
        this.ftpCatalogue = ftpCatalogue;
    }
 
    public Workstation() {
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Integer getType() {
        return this.type;
    }
 
    public String getCalendarCode() {
        return this.calendarCode;
    }
 
    public String getCalendarCodeWaiting() {
        return this.calendarCodeWaiting;
    }
 
    public BigDecimal getStandardEfficiency() {
        return this.standardEfficiency;
    }
 
    public Long getProductionCapacityGroup() {
        return this.productionCapacityGroup;
    }
 
    public Integer getSupportCncRw() {
        return this.supportCncRw;
    }
 
    public Integer getDeviceType() {
        return this.deviceType;
    }
 
    public Integer getProperties() {
        return this.properties;
    }
 
    public Integer getTransmissionMethod() {
        return this.transmissionMethod;
    }
 
    public String getFtpCatalogue() {
        return this.ftpCatalogue;
    }
}