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
package com.qianwen.smartman.modules.tpm.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.util.Date;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@ApiModel(description = "备品工况记录表")
@TableName("blade_device_material_record")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/DeviceMaterialRecord.class */
public class DeviceMaterialRecord extends TenantEntity {
    private Long recordId;
    private Long materialId;
    private String materialCode;
    private String materialName;
    private Integer recordNumber;
    private Integer bizType;
    private Long deviceId;
    private Long userId;
    private String userName;
    private Date usageTime;
 
    public DeviceMaterialRecord setRecordId(final Long recordId) {
        this.recordId = recordId;
        return this;
    }
 
    public DeviceMaterialRecord setMaterialId(final Long materialId) {
        this.materialId = materialId;
        return this;
    }
 
    public DeviceMaterialRecord setMaterialCode(final String materialCode) {
        this.materialCode = materialCode;
        return this;
    }
 
    public DeviceMaterialRecord setMaterialName(final String materialName) {
        this.materialName = materialName;
        return this;
    }
 
    public DeviceMaterialRecord setRecordNumber(final Integer recordNumber) {
        this.recordNumber = recordNumber;
        return this;
    }
 
    public DeviceMaterialRecord setBizType(final Integer bizType) {
        this.bizType = bizType;
        return this;
    }
 
    public DeviceMaterialRecord setDeviceId(final Long deviceId) {
        this.deviceId = deviceId;
        return this;
    }
 
    public DeviceMaterialRecord setUserId(final Long userId) {
        this.userId = userId;
        return this;
    }
 
    public DeviceMaterialRecord setUserName(final String userName) {
        this.userName = userName;
        return this;
    }
 
    public DeviceMaterialRecord setUsageTime(final Date usageTime) {
        this.usageTime = usageTime;
        return this;
    }
 
    public String toString() {
        return "DeviceMaterialRecord(recordId=" + getRecordId() + ", materialId=" + getMaterialId() + ", materialCode=" + getMaterialCode() + ", materialName=" + getMaterialName() + ", recordNumber=" + getRecordNumber() + ", bizType=" + getBizType() + ", deviceId=" + getDeviceId() + ", userId=" + getUserId() + ", userName=" + getUserName() + ", usageTime=" + getUsageTime() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DeviceMaterialRecord) {
            DeviceMaterialRecord other = (DeviceMaterialRecord) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$recordId = getRecordId();
                Object other$recordId = other.getRecordId();
                if (this$recordId == null) {
                    if (other$recordId != null) {
                        return false;
                    }
                } else if (!this$recordId.equals(other$recordId)) {
                    return false;
                }
                Object this$materialId = getMaterialId();
                Object other$materialId = other.getMaterialId();
                if (this$materialId == null) {
                    if (other$materialId != null) {
                        return false;
                    }
                } else if (!this$materialId.equals(other$materialId)) {
                    return false;
                }
                Object this$recordNumber = getRecordNumber();
                Object other$recordNumber = other.getRecordNumber();
                if (this$recordNumber == null) {
                    if (other$recordNumber != null) {
                        return false;
                    }
                } else if (!this$recordNumber.equals(other$recordNumber)) {
                    return false;
                }
                Object this$bizType = getBizType();
                Object other$bizType = other.getBizType();
                if (this$bizType == null) {
                    if (other$bizType != null) {
                        return false;
                    }
                } else if (!this$bizType.equals(other$bizType)) {
                    return false;
                }
                Object this$deviceId = getDeviceId();
                Object other$deviceId = other.getDeviceId();
                if (this$deviceId == null) {
                    if (other$deviceId != null) {
                        return false;
                    }
                } else if (!this$deviceId.equals(other$deviceId)) {
                    return false;
                }
                Object this$userId = getUserId();
                Object other$userId = other.getUserId();
                if (this$userId == null) {
                    if (other$userId != null) {
                        return false;
                    }
                } else if (!this$userId.equals(other$userId)) {
                    return false;
                }
                Object this$materialCode = getMaterialCode();
                Object other$materialCode = other.getMaterialCode();
                if (this$materialCode == null) {
                    if (other$materialCode != null) {
                        return false;
                    }
                } else if (!this$materialCode.equals(other$materialCode)) {
                    return false;
                }
                Object this$materialName = getMaterialName();
                Object other$materialName = other.getMaterialName();
                if (this$materialName == null) {
                    if (other$materialName != null) {
                        return false;
                    }
                } else if (!this$materialName.equals(other$materialName)) {
                    return false;
                }
                Object this$userName = getUserName();
                Object other$userName = other.getUserName();
                if (this$userName == null) {
                    if (other$userName != null) {
                        return false;
                    }
                } else if (!this$userName.equals(other$userName)) {
                    return false;
                }
                Object this$usageTime = getUsageTime();
                Object other$usageTime = other.getUsageTime();
                return this$usageTime == null ? other$usageTime == null : this$usageTime.equals(other$usageTime);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DeviceMaterialRecord;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $recordId = getRecordId();
        int result2 = (result * 59) + ($recordId == null ? 43 : $recordId.hashCode());
        Object $materialId = getMaterialId();
        int result3 = (result2 * 59) + ($materialId == null ? 43 : $materialId.hashCode());
        Object $recordNumber = getRecordNumber();
        int result4 = (result3 * 59) + ($recordNumber == null ? 43 : $recordNumber.hashCode());
        Object $bizType = getBizType();
        int result5 = (result4 * 59) + ($bizType == null ? 43 : $bizType.hashCode());
        Object $deviceId = getDeviceId();
        int result6 = (result5 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
        Object $userId = getUserId();
        int result7 = (result6 * 59) + ($userId == null ? 43 : $userId.hashCode());
        Object $materialCode = getMaterialCode();
        int result8 = (result7 * 59) + ($materialCode == null ? 43 : $materialCode.hashCode());
        Object $materialName = getMaterialName();
        int result9 = (result8 * 59) + ($materialName == null ? 43 : $materialName.hashCode());
        Object $userName = getUserName();
        int result10 = (result9 * 59) + ($userName == null ? 43 : $userName.hashCode());
        Object $usageTime = getUsageTime();
        return (result10 * 59) + ($usageTime == null ? 43 : $usageTime.hashCode());
    }
 
    public Long getRecordId() {
        return this.recordId;
    }
 
    public Long getMaterialId() {
        return this.materialId;
    }
 
    public String getMaterialCode() {
        return this.materialCode;
    }
 
    public String getMaterialName() {
        return this.materialName;
    }
 
    public Integer getRecordNumber() {
        return this.recordNumber;
    }
 
    public Integer getBizType() {
        return this.bizType;
    }
 
    public Long getDeviceId() {
        return this.deviceId;
    }
 
    public Long getUserId() {
        return this.userId;
    }
 
    public String getUserName() {
        return this.userName;
    }
 
    public Date getUsageTime() {
        return this.usageTime;
    }
}