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
package com.qianwen.smartman.modules.tool.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "ToolModel对象", description = "刀具型号")
@TableName("blade_tool_model")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/entity/ToolModel.class */
public class ToolModel extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("租户ID")
    private String tenantId;
    @ApiModelProperty("刀具类型id")
    private Long toolCategoryId;
    @ApiModelProperty("刀具型号")
    private String model;
    @ApiModelProperty("刀具前缀编号")
    private String toolPrefixCode;
    @ApiModelProperty("寿命计数方式(1.按次数 2.按时间)")
    private Integer lifeCountMethod;
    @ApiModelProperty("初始寿命")
    private Integer initialLife;
    @ApiModelProperty("预警值")
    private Integer warningValue;
    @ApiModelProperty("参数1")
    private String parameter1;
    @ApiModelProperty("参数2")
    private String parameter2;
    @ApiModelProperty("参数3")
    private String parameter3;
    @ApiModelProperty("参数4")
    private String parameter4;
    @ApiModelProperty("参数5")
    private String parameter5;
    @ApiModelProperty("参数6")
    private String parameter6;
    @ApiModelProperty("参数7")
    private String parameter7;
    @ApiModelProperty("参数8")
    private String parameter8;
    @ApiModelProperty("参数9")
    private String parameter9;
    @ApiModelProperty("参数10")
    private String parameter10;
 
    public ToolModel setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public ToolModel setToolCategoryId(final Long toolCategoryId) {
        this.toolCategoryId = toolCategoryId;
        return this;
    }
 
    public ToolModel setModel(final String model) {
        this.model = model;
        return this;
    }
 
    public ToolModel setToolPrefixCode(final String toolPrefixCode) {
        this.toolPrefixCode = toolPrefixCode;
        return this;
    }
 
    public ToolModel setLifeCountMethod(final Integer lifeCountMethod) {
        this.lifeCountMethod = lifeCountMethod;
        return this;
    }
 
    public ToolModel setInitialLife(final Integer initialLife) {
        this.initialLife = initialLife;
        return this;
    }
 
    public ToolModel setWarningValue(final Integer warningValue) {
        this.warningValue = warningValue;
        return this;
    }
 
    public ToolModel setParameter1(final String parameter1) {
        this.parameter1 = parameter1;
        return this;
    }
 
    public ToolModel setParameter2(final String parameter2) {
        this.parameter2 = parameter2;
        return this;
    }
 
    public ToolModel setParameter3(final String parameter3) {
        this.parameter3 = parameter3;
        return this;
    }
 
    public ToolModel setParameter4(final String parameter4) {
        this.parameter4 = parameter4;
        return this;
    }
 
    public ToolModel setParameter5(final String parameter5) {
        this.parameter5 = parameter5;
        return this;
    }
 
    public ToolModel setParameter6(final String parameter6) {
        this.parameter6 = parameter6;
        return this;
    }
 
    public ToolModel setParameter7(final String parameter7) {
        this.parameter7 = parameter7;
        return this;
    }
 
    public ToolModel setParameter8(final String parameter8) {
        this.parameter8 = parameter8;
        return this;
    }
 
    public ToolModel setParameter9(final String parameter9) {
        this.parameter9 = parameter9;
        return this;
    }
 
    public ToolModel setParameter10(final String parameter10) {
        this.parameter10 = parameter10;
        return this;
    }
 
    public String toString() {
        return "ToolModel(tenantId=" + getTenantId() + ", toolCategoryId=" + getToolCategoryId() + ", model=" + getModel() + ", toolPrefixCode=" + getToolPrefixCode() + ", lifeCountMethod=" + getLifeCountMethod() + ", initialLife=" + getInitialLife() + ", warningValue=" + getWarningValue() + ", parameter1=" + getParameter1() + ", parameter2=" + getParameter2() + ", parameter3=" + getParameter3() + ", parameter4=" + getParameter4() + ", parameter5=" + getParameter5() + ", parameter6=" + getParameter6() + ", parameter7=" + getParameter7() + ", parameter8=" + getParameter8() + ", parameter9=" + getParameter9() + ", parameter10=" + getParameter10() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ToolModel) {
            ToolModel other = (ToolModel) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$toolCategoryId = getToolCategoryId();
                Object other$toolCategoryId = other.getToolCategoryId();
                if (this$toolCategoryId == null) {
                    if (other$toolCategoryId != null) {
                        return false;
                    }
                } else if (!this$toolCategoryId.equals(other$toolCategoryId)) {
                    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$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$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    return false;
                }
                Object this$model = getModel();
                Object other$model = other.getModel();
                if (this$model == null) {
                    if (other$model != null) {
                        return false;
                    }
                } else if (!this$model.equals(other$model)) {
                    return false;
                }
                Object this$toolPrefixCode = getToolPrefixCode();
                Object other$toolPrefixCode = other.getToolPrefixCode();
                if (this$toolPrefixCode == null) {
                    if (other$toolPrefixCode != null) {
                        return false;
                    }
                } else if (!this$toolPrefixCode.equals(other$toolPrefixCode)) {
                    return false;
                }
                Object this$parameter1 = getParameter1();
                Object other$parameter1 = other.getParameter1();
                if (this$parameter1 == null) {
                    if (other$parameter1 != null) {
                        return false;
                    }
                } else if (!this$parameter1.equals(other$parameter1)) {
                    return false;
                }
                Object this$parameter2 = getParameter2();
                Object other$parameter2 = other.getParameter2();
                if (this$parameter2 == null) {
                    if (other$parameter2 != null) {
                        return false;
                    }
                } else if (!this$parameter2.equals(other$parameter2)) {
                    return false;
                }
                Object this$parameter3 = getParameter3();
                Object other$parameter3 = other.getParameter3();
                if (this$parameter3 == null) {
                    if (other$parameter3 != null) {
                        return false;
                    }
                } else if (!this$parameter3.equals(other$parameter3)) {
                    return false;
                }
                Object this$parameter4 = getParameter4();
                Object other$parameter4 = other.getParameter4();
                if (this$parameter4 == null) {
                    if (other$parameter4 != null) {
                        return false;
                    }
                } else if (!this$parameter4.equals(other$parameter4)) {
                    return false;
                }
                Object this$parameter5 = getParameter5();
                Object other$parameter5 = other.getParameter5();
                if (this$parameter5 == null) {
                    if (other$parameter5 != null) {
                        return false;
                    }
                } else if (!this$parameter5.equals(other$parameter5)) {
                    return false;
                }
                Object this$parameter6 = getParameter6();
                Object other$parameter6 = other.getParameter6();
                if (this$parameter6 == null) {
                    if (other$parameter6 != null) {
                        return false;
                    }
                } else if (!this$parameter6.equals(other$parameter6)) {
                    return false;
                }
                Object this$parameter7 = getParameter7();
                Object other$parameter7 = other.getParameter7();
                if (this$parameter7 == null) {
                    if (other$parameter7 != null) {
                        return false;
                    }
                } else if (!this$parameter7.equals(other$parameter7)) {
                    return false;
                }
                Object this$parameter8 = getParameter8();
                Object other$parameter8 = other.getParameter8();
                if (this$parameter8 == null) {
                    if (other$parameter8 != null) {
                        return false;
                    }
                } else if (!this$parameter8.equals(other$parameter8)) {
                    return false;
                }
                Object this$parameter9 = getParameter9();
                Object other$parameter9 = other.getParameter9();
                if (this$parameter9 == null) {
                    if (other$parameter9 != null) {
                        return false;
                    }
                } else if (!this$parameter9.equals(other$parameter9)) {
                    return false;
                }
                Object this$parameter10 = getParameter10();
                Object other$parameter10 = other.getParameter10();
                return this$parameter10 == null ? other$parameter10 == null : this$parameter10.equals(other$parameter10);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ToolModel;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $toolCategoryId = getToolCategoryId();
        int result2 = (result * 59) + ($toolCategoryId == null ? 43 : $toolCategoryId.hashCode());
        Object $lifeCountMethod = getLifeCountMethod();
        int result3 = (result2 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode());
        Object $initialLife = getInitialLife();
        int result4 = (result3 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode());
        Object $warningValue = getWarningValue();
        int result5 = (result4 * 59) + ($warningValue == null ? 43 : $warningValue.hashCode());
        Object $tenantId = getTenantId();
        int result6 = (result5 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $model = getModel();
        int result7 = (result6 * 59) + ($model == null ? 43 : $model.hashCode());
        Object $toolPrefixCode = getToolPrefixCode();
        int result8 = (result7 * 59) + ($toolPrefixCode == null ? 43 : $toolPrefixCode.hashCode());
        Object $parameter1 = getParameter1();
        int result9 = (result8 * 59) + ($parameter1 == null ? 43 : $parameter1.hashCode());
        Object $parameter2 = getParameter2();
        int result10 = (result9 * 59) + ($parameter2 == null ? 43 : $parameter2.hashCode());
        Object $parameter3 = getParameter3();
        int result11 = (result10 * 59) + ($parameter3 == null ? 43 : $parameter3.hashCode());
        Object $parameter4 = getParameter4();
        int result12 = (result11 * 59) + ($parameter4 == null ? 43 : $parameter4.hashCode());
        Object $parameter5 = getParameter5();
        int result13 = (result12 * 59) + ($parameter5 == null ? 43 : $parameter5.hashCode());
        Object $parameter6 = getParameter6();
        int result14 = (result13 * 59) + ($parameter6 == null ? 43 : $parameter6.hashCode());
        Object $parameter7 = getParameter7();
        int result15 = (result14 * 59) + ($parameter7 == null ? 43 : $parameter7.hashCode());
        Object $parameter8 = getParameter8();
        int result16 = (result15 * 59) + ($parameter8 == null ? 43 : $parameter8.hashCode());
        Object $parameter9 = getParameter9();
        int result17 = (result16 * 59) + ($parameter9 == null ? 43 : $parameter9.hashCode());
        Object $parameter10 = getParameter10();
        return (result17 * 59) + ($parameter10 == null ? 43 : $parameter10.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public Long getToolCategoryId() {
        return this.toolCategoryId;
    }
 
    public String getModel() {
        return this.model;
    }
 
    public String getToolPrefixCode() {
        return this.toolPrefixCode;
    }
 
    public Integer getLifeCountMethod() {
        return this.lifeCountMethod;
    }
 
    public Integer getInitialLife() {
        return this.initialLife;
    }
 
    public Integer getWarningValue() {
        return this.warningValue;
    }
 
    public String getParameter1() {
        return this.parameter1;
    }
 
    public String getParameter2() {
        return this.parameter2;
    }
 
    public String getParameter3() {
        return this.parameter3;
    }
 
    public String getParameter4() {
        return this.parameter4;
    }
 
    public String getParameter5() {
        return this.parameter5;
    }
 
    public String getParameter6() {
        return this.parameter6;
    }
 
    public String getParameter7() {
        return this.parameter7;
    }
 
    public String getParameter8() {
        return this.parameter8;
    }
 
    public String getParameter9() {
        return this.parameter9;
    }
 
    public String getParameter10() {
        return this.parameter10;
    }
}