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
package com.qianwen.smartman.modules.tool.excel;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/excel/ToolManageExcel.class */
public class ToolManageExcel implements Serializable {
    @ExcelProperty({"刀具状态报表", "", "刀具编号"})
    private String toolCode;
    @ExcelProperty({"刀具状态报表", "", "刀具类型"})
    private String toolCategory;
    @ExcelProperty({"刀具状态报表", "", "使用状态"})
    private String useState;
    @ExcelProperty({"刀具状态报表", "", "刀具型号"})
    private String toolModel;
    @ExcelProperty({"刀具状态报表", "", "工位编号"})
    private String workstationCode;
    @ExcelProperty({"刀具状态报表", "", "工位名称"})
    private String workstationName;
    @ExcelProperty({"刀具状态报表", "", "刀位"})
    private Integer toolPosition;
    @ExcelProperty({"刀具状态报表", "", "寿命计数方式"})
    private String lifeCountMethod;
    @ExcelProperty({"刀具状态报表", "", "初始寿命"})
    private String initialLife;
    @ExcelProperty({"刀具状态报表", "", "已用寿命"})
    private String usedLife;
    @ExcelProperty({"刀具状态报表", "", "剩余寿命"})
    private String remainLife;
    @ExcelProperty({"刀具状态报表", "", "预警值"})
    private String warningValue;
    @ExcelIgnore
    private String lifeState;
 
    public void setToolCode(final String toolCode) {
        this.toolCode = toolCode;
    }
 
    public void setToolCategory(final String toolCategory) {
        this.toolCategory = toolCategory;
    }
 
    public void setUseState(final String useState) {
        this.useState = useState;
    }
 
    public void setToolModel(final String toolModel) {
        this.toolModel = toolModel;
    }
 
    public void setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
    }
 
    public void setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
    }
 
    public void setToolPosition(final Integer toolPosition) {
        this.toolPosition = toolPosition;
    }
 
    public void setLifeCountMethod(final String lifeCountMethod) {
        this.lifeCountMethod = lifeCountMethod;
    }
 
    public void setInitialLife(final String initialLife) {
        this.initialLife = initialLife;
    }
 
    public void setUsedLife(final String usedLife) {
        this.usedLife = usedLife;
    }
 
    public void setRemainLife(final String remainLife) {
        this.remainLife = remainLife;
    }
 
    public void setWarningValue(final String warningValue) {
        this.warningValue = warningValue;
    }
 
    public void setLifeState(final String lifeState) {
        this.lifeState = lifeState;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ToolManageExcel) {
            ToolManageExcel other = (ToolManageExcel) o;
            if (other.canEqual(this)) {
                Object this$toolPosition = getToolPosition();
                Object other$toolPosition = other.getToolPosition();
                if (this$toolPosition == null) {
                    if (other$toolPosition != null) {
                        return false;
                    }
                } else if (!this$toolPosition.equals(other$toolPosition)) {
                    return false;
                }
                Object this$toolCode = getToolCode();
                Object other$toolCode = other.getToolCode();
                if (this$toolCode == null) {
                    if (other$toolCode != null) {
                        return false;
                    }
                } else if (!this$toolCode.equals(other$toolCode)) {
                    return false;
                }
                Object this$toolCategory = getToolCategory();
                Object other$toolCategory = other.getToolCategory();
                if (this$toolCategory == null) {
                    if (other$toolCategory != null) {
                        return false;
                    }
                } else if (!this$toolCategory.equals(other$toolCategory)) {
                    return false;
                }
                Object this$useState = getUseState();
                Object other$useState = other.getUseState();
                if (this$useState == null) {
                    if (other$useState != null) {
                        return false;
                    }
                } else if (!this$useState.equals(other$useState)) {
                    return false;
                }
                Object this$toolModel = getToolModel();
                Object other$toolModel = other.getToolModel();
                if (this$toolModel == null) {
                    if (other$toolModel != null) {
                        return false;
                    }
                } else if (!this$toolModel.equals(other$toolModel)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    return false;
                }
                Object this$workstationName = getWorkstationName();
                Object other$workstationName = other.getWorkstationName();
                if (this$workstationName == null) {
                    if (other$workstationName != null) {
                        return false;
                    }
                } else if (!this$workstationName.equals(other$workstationName)) {
                    return false;
                }
                Object this$lifeCountMethod = getLifeCountMethod();
                Object other$lifeCountMethod = other.getLifeCountMethod();
                if (this$lifeCountMethod == null) {
                    if (other$lifeCountMethod != null) {
                        return false;
                    }
                } else if (!this$lifeCountMethod.equals(other$lifeCountMethod)) {
                    return false;
                }
                Object this$initialLife = getInitialLife();
                Object other$initialLife = other.getInitialLife();
                if (this$initialLife == null) {
                    if (other$initialLife != null) {
                        return false;
                    }
                } else if (!this$initialLife.equals(other$initialLife)) {
                    return false;
                }
                Object this$usedLife = getUsedLife();
                Object other$usedLife = other.getUsedLife();
                if (this$usedLife == null) {
                    if (other$usedLife != null) {
                        return false;
                    }
                } else if (!this$usedLife.equals(other$usedLife)) {
                    return false;
                }
                Object this$remainLife = getRemainLife();
                Object other$remainLife = other.getRemainLife();
                if (this$remainLife == null) {
                    if (other$remainLife != null) {
                        return false;
                    }
                } else if (!this$remainLife.equals(other$remainLife)) {
                    return false;
                }
                Object this$warningValue = getWarningValue();
                Object other$warningValue = other.getWarningValue();
                if (this$warningValue == null) {
                    if (other$warningValue != null) {
                        return false;
                    }
                } else if (!this$warningValue.equals(other$warningValue)) {
                    return false;
                }
                Object this$lifeState = getLifeState();
                Object other$lifeState = other.getLifeState();
                return this$lifeState == null ? other$lifeState == null : this$lifeState.equals(other$lifeState);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ToolManageExcel;
    }
 
    public int hashCode() {
        Object $toolPosition = getToolPosition();
        int result = (1 * 59) + ($toolPosition == null ? 43 : $toolPosition.hashCode());
        Object $toolCode = getToolCode();
        int result2 = (result * 59) + ($toolCode == null ? 43 : $toolCode.hashCode());
        Object $toolCategory = getToolCategory();
        int result3 = (result2 * 59) + ($toolCategory == null ? 43 : $toolCategory.hashCode());
        Object $useState = getUseState();
        int result4 = (result3 * 59) + ($useState == null ? 43 : $useState.hashCode());
        Object $toolModel = getToolModel();
        int result5 = (result4 * 59) + ($toolModel == null ? 43 : $toolModel.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result6 = (result5 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result7 = (result6 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $lifeCountMethod = getLifeCountMethod();
        int result8 = (result7 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode());
        Object $initialLife = getInitialLife();
        int result9 = (result8 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode());
        Object $usedLife = getUsedLife();
        int result10 = (result9 * 59) + ($usedLife == null ? 43 : $usedLife.hashCode());
        Object $remainLife = getRemainLife();
        int result11 = (result10 * 59) + ($remainLife == null ? 43 : $remainLife.hashCode());
        Object $warningValue = getWarningValue();
        int result12 = (result11 * 59) + ($warningValue == null ? 43 : $warningValue.hashCode());
        Object $lifeState = getLifeState();
        return (result12 * 59) + ($lifeState == null ? 43 : $lifeState.hashCode());
    }
 
    public String toString() {
        return "ToolManageExcel(toolCode=" + getToolCode() + ", toolCategory=" + getToolCategory() + ", useState=" + getUseState() + ", toolModel=" + getToolModel() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", toolPosition=" + getToolPosition() + ", lifeCountMethod=" + getLifeCountMethod() + ", initialLife=" + getInitialLife() + ", usedLife=" + getUsedLife() + ", remainLife=" + getRemainLife() + ", warningValue=" + getWarningValue() + ", lifeState=" + getLifeState() + ")";
    }
 
    public ToolManageExcel(final String toolCode, final String toolCategory, final String useState, final String toolModel, final String workstationCode, final String workstationName, final Integer toolPosition, final String lifeCountMethod, final String initialLife, final String usedLife, final String remainLife, final String warningValue, final String lifeState) {
        this.toolCode = toolCode;
        this.toolCategory = toolCategory;
        this.useState = useState;
        this.toolModel = toolModel;
        this.workstationCode = workstationCode;
        this.workstationName = workstationName;
        this.toolPosition = toolPosition;
        this.lifeCountMethod = lifeCountMethod;
        this.initialLife = initialLife;
        this.usedLife = usedLife;
        this.remainLife = remainLife;
        this.warningValue = warningValue;
        this.lifeState = lifeState;
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/excel/ToolManageExcel$ToolManageExcelBuilder.class */
    public static class ToolManageExcelBuilder {
        private String toolCode;
        private String toolCategory;
        private String useState;
        private String toolModel;
        private String workstationCode;
        private String workstationName;
        private Integer toolPosition;
        private String lifeCountMethod;
        private String initialLife;
        private String usedLife;
        private String remainLife;
        private String warningValue;
        private String lifeState;
 
        ToolManageExcelBuilder() {
        }
 
        public ToolManageExcelBuilder toolCode(final String toolCode) {
            this.toolCode = toolCode;
            return this;
        }
 
        public ToolManageExcelBuilder toolCategory(final String toolCategory) {
            this.toolCategory = toolCategory;
            return this;
        }
 
        public ToolManageExcelBuilder useState(final String useState) {
            this.useState = useState;
            return this;
        }
 
        public ToolManageExcelBuilder toolModel(final String toolModel) {
            this.toolModel = toolModel;
            return this;
        }
 
        public ToolManageExcelBuilder workstationCode(final String workstationCode) {
            this.workstationCode = workstationCode;
            return this;
        }
 
        public ToolManageExcelBuilder workstationName(final String workstationName) {
            this.workstationName = workstationName;
            return this;
        }
 
        public ToolManageExcelBuilder toolPosition(final Integer toolPosition) {
            this.toolPosition = toolPosition;
            return this;
        }
 
        public ToolManageExcelBuilder lifeCountMethod(final String lifeCountMethod) {
            this.lifeCountMethod = lifeCountMethod;
            return this;
        }
 
        public ToolManageExcelBuilder initialLife(final String initialLife) {
            this.initialLife = initialLife;
            return this;
        }
 
        public ToolManageExcelBuilder usedLife(final String usedLife) {
            this.usedLife = usedLife;
            return this;
        }
 
        public ToolManageExcelBuilder remainLife(final String remainLife) {
            this.remainLife = remainLife;
            return this;
        }
 
        public ToolManageExcelBuilder warningValue(final String warningValue) {
            this.warningValue = warningValue;
            return this;
        }
 
        public ToolManageExcelBuilder lifeState(final String lifeState) {
            this.lifeState = lifeState;
            return this;
        }
 
        public ToolManageExcel build() {
            return new ToolManageExcel(this.toolCode, this.toolCategory, this.useState, this.toolModel, this.workstationCode, this.workstationName, this.toolPosition, this.lifeCountMethod, this.initialLife, this.usedLife, this.remainLife, this.warningValue, this.lifeState);
        }
 
        public String toString() {
            return "ToolManageExcel.ToolManageExcelBuilder(toolCode=" + this.toolCode + ", toolCategory=" + this.toolCategory + ", useState=" + this.useState + ", toolModel=" + this.toolModel + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", toolPosition=" + this.toolPosition + ", lifeCountMethod=" + this.lifeCountMethod + ", initialLife=" + this.initialLife + ", usedLife=" + this.usedLife + ", remainLife=" + this.remainLife + ", warningValue=" + this.warningValue + ", lifeState=" + this.lifeState + ")";
        }
    }
 
    public ToolManageExcel() {
    }
 
    public static ToolManageExcelBuilder builder() {
        return new ToolManageExcelBuilder();
    }
 
    public String getToolCode() {
        return this.toolCode;
    }
 
    public String getToolCategory() {
        return this.toolCategory;
    }
 
    public String getUseState() {
        return this.useState;
    }
 
    public String getToolModel() {
        return this.toolModel;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Integer getToolPosition() {
        return this.toolPosition;
    }
 
    public String getLifeCountMethod() {
        return this.lifeCountMethod;
    }
 
    public String getInitialLife() {
        return this.initialLife;
    }
 
    public String getUsedLife() {
        return this.usedLife;
    }
 
    public String getRemainLife() {
        return this.remainLife;
    }
 
    public String getWarningValue() {
        return this.warningValue;
    }
 
    public String getLifeState() {
        return this.lifeState;
    }
}