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
package com.qianwen.smartman.modules.cps.excel;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import java.io.Serializable;
 
@HeadRowHeight(20)
@ColumnWidth(16)
@ContentRowHeight(18)
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationExcel.class */
public class WorkstationExcel implements Serializable {
    private static final long serialVersionUID = -8938927851683015090L;
    @ExcelProperty({"工位编号"})
    private String code;
    @ExcelProperty({"工位名称"})
    private String name;
    @ExcelProperty({"工位类型"})
    private String typeName;
    @ExcelProperty({"所属工位组"})
    private String groupName;
    @ExcelProperty({"生产日历编号"})
    private String calendarCode;
    @ExcelProperty({"机器编号"})
    private String machineCode;
    @ExcelProperty({"机器名称"})
    private String machineName;
    @ExcelProperty({"机器PIN码"})
    private String machinePinCode;
    @ExcelProperty({"机器短编号"})
    private String machineShortCode;
    @ExcelIgnore
    @ExcelProperty({"工位类型:空、机器、人工"})
    private Integer type;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationExcel$WorkstationExcelBuilder.class */
    public static class WorkstationExcelBuilder {
        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 Integer type;
 
        WorkstationExcelBuilder() {
        }
 
        public WorkstationExcelBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public WorkstationExcelBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationExcelBuilder typeName(final String typeName) {
            this.typeName = typeName;
            return this;
        }
 
        public WorkstationExcelBuilder groupName(final String groupName) {
            this.groupName = groupName;
            return this;
        }
 
        public WorkstationExcelBuilder calendarCode(final String calendarCode) {
            this.calendarCode = calendarCode;
            return this;
        }
 
        public WorkstationExcelBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public WorkstationExcelBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public WorkstationExcelBuilder machinePinCode(final String machinePinCode) {
            this.machinePinCode = machinePinCode;
            return this;
        }
 
        public WorkstationExcelBuilder machineShortCode(final String machineShortCode) {
            this.machineShortCode = machineShortCode;
            return this;
        }
 
        public WorkstationExcelBuilder type(final Integer type) {
            this.type = type;
            return this;
        }
 
        public WorkstationExcel build() {
            return new WorkstationExcel(this.code, this.name, this.typeName, this.groupName, this.calendarCode, this.machineCode, this.machineName, this.machinePinCode, this.machineShortCode, this.type);
        }
 
        public String toString() {
            return "WorkstationExcel.WorkstationExcelBuilder(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 + ", 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 setType(final Integer type) {
        this.type = type;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationExcel) {
            WorkstationExcel other = (WorkstationExcel) 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$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();
                return this$machineShortCode == null ? other$machineShortCode == null : this$machineShortCode.equals(other$machineShortCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationExcel;
    }
 
    public int hashCode() {
        Object $type = getType();
        int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $code = getCode();
        int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $typeName = getTypeName();
        int result4 = (result3 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
        Object $groupName = getGroupName();
        int result5 = (result4 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
        Object $calendarCode = getCalendarCode();
        int result6 = (result5 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $machineCode = getMachineCode();
        int result7 = (result6 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result8 = (result7 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $machinePinCode = getMachinePinCode();
        int result9 = (result8 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
        Object $machineShortCode = getMachineShortCode();
        return (result9 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
    }
 
    public String toString() {
        return "WorkstationExcel(code=" + getCode() + ", name=" + getName() + ", typeName=" + getTypeName() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", type=" + getType() + ")";
    }
 
    public static WorkstationExcelBuilder builder() {
        return new WorkstationExcelBuilder();
    }
 
    public WorkstationExcel(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 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.type = type;
    }
 
    public WorkstationExcel() {
    }
 
    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 Integer getType() {
        return this.type;
    }
}