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
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.math.BigDecimal;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@ApiModel(description = "物料")
@TableName("blade_material")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Material.class */
public class Material extends TenantEntity {
    private static final long serialVersionUID = 1402526758676978831L;
    private String barCode;
    private String code;
    private String name;
    private Long typeId;
    private String unit;
    private String stuff;
    private String standardModel;
    private String remark;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal lowerLimit;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal upperLimit;
    private Integer isMustCheck;
    private Integer property;
 
    public Material setBarCode(final String barCode) {
        this.barCode = barCode;
        return this;
    }
 
    public Material setCode(final String code) {
        this.code = code;
        return this;
    }
 
    public Material setName(final String name) {
        this.name = name;
        return this;
    }
 
    public Material setTypeId(final Long typeId) {
        this.typeId = typeId;
        return this;
    }
 
    public Material setUnit(final String unit) {
        this.unit = unit;
        return this;
    }
 
    public Material setStuff(final String stuff) {
        this.stuff = stuff;
        return this;
    }
 
    public Material setStandardModel(final String standardModel) {
        this.standardModel = standardModel;
        return this;
    }
 
    public Material setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public Material setLowerLimit(final BigDecimal lowerLimit) {
        this.lowerLimit = lowerLimit;
        return this;
    }
 
    public Material setUpperLimit(final BigDecimal upperLimit) {
        this.upperLimit = upperLimit;
        return this;
    }
 
    public Material setIsMustCheck(final Integer isMustCheck) {
        this.isMustCheck = isMustCheck;
        return this;
    }
 
    public Material setProperty(final Integer property) {
        this.property = property;
        return this;
    }
 
    public String toString() {
        return "Material(barCode=" + getBarCode() + ", code=" + getCode() + ", name=" + getName() + ", typeId=" + getTypeId() + ", unit=" + getUnit() + ", stuff=" + getStuff() + ", standardModel=" + getStandardModel() + ", remark=" + getRemark() + ", lowerLimit=" + getLowerLimit() + ", upperLimit=" + getUpperLimit() + ", isMustCheck=" + getIsMustCheck() + ", property=" + getProperty() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Material) {
            Material other = (Material) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$typeId = getTypeId();
                Object other$typeId = other.getTypeId();
                if (this$typeId == null) {
                    if (other$typeId != null) {
                        return false;
                    }
                } else if (!this$typeId.equals(other$typeId)) {
                    return false;
                }
                Object this$isMustCheck = getIsMustCheck();
                Object other$isMustCheck = other.getIsMustCheck();
                if (this$isMustCheck == null) {
                    if (other$isMustCheck != null) {
                        return false;
                    }
                } else if (!this$isMustCheck.equals(other$isMustCheck)) {
                    return false;
                }
                Object this$property = getProperty();
                Object other$property = other.getProperty();
                if (this$property == null) {
                    if (other$property != null) {
                        return false;
                    }
                } else if (!this$property.equals(other$property)) {
                    return false;
                }
                Object this$barCode = getBarCode();
                Object other$barCode = other.getBarCode();
                if (this$barCode == null) {
                    if (other$barCode != null) {
                        return false;
                    }
                } else if (!this$barCode.equals(other$barCode)) {
                    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$unit = getUnit();
                Object other$unit = other.getUnit();
                if (this$unit == null) {
                    if (other$unit != null) {
                        return false;
                    }
                } else if (!this$unit.equals(other$unit)) {
                    return false;
                }
                Object this$stuff = getStuff();
                Object other$stuff = other.getStuff();
                if (this$stuff == null) {
                    if (other$stuff != null) {
                        return false;
                    }
                } else if (!this$stuff.equals(other$stuff)) {
                    return false;
                }
                Object this$standardModel = getStandardModel();
                Object other$standardModel = other.getStandardModel();
                if (this$standardModel == null) {
                    if (other$standardModel != null) {
                        return false;
                    }
                } else if (!this$standardModel.equals(other$standardModel)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                if (this$remark == null) {
                    if (other$remark != null) {
                        return false;
                    }
                } else if (!this$remark.equals(other$remark)) {
                    return false;
                }
                Object this$lowerLimit = getLowerLimit();
                Object other$lowerLimit = other.getLowerLimit();
                if (this$lowerLimit == null) {
                    if (other$lowerLimit != null) {
                        return false;
                    }
                } else if (!this$lowerLimit.equals(other$lowerLimit)) {
                    return false;
                }
                Object this$upperLimit = getUpperLimit();
                Object other$upperLimit = other.getUpperLimit();
                return this$upperLimit == null ? other$upperLimit == null : this$upperLimit.equals(other$upperLimit);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Material;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $typeId = getTypeId();
        int result2 = (result * 59) + ($typeId == null ? 43 : $typeId.hashCode());
        Object $isMustCheck = getIsMustCheck();
        int result3 = (result2 * 59) + ($isMustCheck == null ? 43 : $isMustCheck.hashCode());
        Object $property = getProperty();
        int result4 = (result3 * 59) + ($property == null ? 43 : $property.hashCode());
        Object $barCode = getBarCode();
        int result5 = (result4 * 59) + ($barCode == null ? 43 : $barCode.hashCode());
        Object $code = getCode();
        int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $unit = getUnit();
        int result8 = (result7 * 59) + ($unit == null ? 43 : $unit.hashCode());
        Object $stuff = getStuff();
        int result9 = (result8 * 59) + ($stuff == null ? 43 : $stuff.hashCode());
        Object $standardModel = getStandardModel();
        int result10 = (result9 * 59) + ($standardModel == null ? 43 : $standardModel.hashCode());
        Object $remark = getRemark();
        int result11 = (result10 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $lowerLimit = getLowerLimit();
        int result12 = (result11 * 59) + ($lowerLimit == null ? 43 : $lowerLimit.hashCode());
        Object $upperLimit = getUpperLimit();
        return (result12 * 59) + ($upperLimit == null ? 43 : $upperLimit.hashCode());
    }
 
    public String getBarCode() {
        return this.barCode;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Long getTypeId() {
        return this.typeId;
    }
 
    public String getUnit() {
        return this.unit;
    }
 
    public String getStuff() {
        return this.stuff;
    }
 
    public String getStandardModel() {
        return this.standardModel;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public BigDecimal getLowerLimit() {
        return this.lowerLimit;
    }
 
    public BigDecimal getUpperLimit() {
        return this.upperLimit;
    }
 
    public Integer getIsMustCheck() {
        return this.isMustCheck;
    }
 
    public Integer getProperty() {
        return this.property;
    }
}