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
package com.qianwen.smartman.modules.tpm.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
 
@ApiModel(description = "备品工况")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/DeviceMaterialRecordVO.class */
public class DeviceMaterialRecordVO {
    @ApiModelProperty("保养记录Id/维修单Id")
    private Long recordId;
    @ApiModelProperty("保养/维修单号")
    private String recordCode;
    @ApiModelProperty("保养记录Id/维修单Id")
    private Long materialId;
    @ApiModelProperty("物料编码")
    private String materialCode;
    @ApiModelProperty("物料名称")
    private String materialName;
    @ApiModelProperty("数量")
    private Integer recordNumber;
    @ApiModelProperty("使用人员姓名")
    private String userName;
    @ApiModelProperty("使用时间(维修单或保养记录的结束时间)")
    private Date usageTime;
 
    public void setRecordId(final Long recordId) {
        this.recordId = recordId;
    }
 
    public void setRecordCode(final String recordCode) {
        this.recordCode = recordCode;
    }
 
    public void setMaterialId(final Long materialId) {
        this.materialId = materialId;
    }
 
    public void setMaterialCode(final String materialCode) {
        this.materialCode = materialCode;
    }
 
    public void setMaterialName(final String materialName) {
        this.materialName = materialName;
    }
 
    public void setRecordNumber(final Integer recordNumber) {
        this.recordNumber = recordNumber;
    }
 
    public void setUserName(final String userName) {
        this.userName = userName;
    }
 
    public void setUsageTime(final Date usageTime) {
        this.usageTime = usageTime;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DeviceMaterialRecordVO) {
            DeviceMaterialRecordVO other = (DeviceMaterialRecordVO) o;
            if (other.canEqual(this)) {
                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$recordCode = getRecordCode();
                Object other$recordCode = other.getRecordCode();
                if (this$recordCode == null) {
                    if (other$recordCode != null) {
                        return false;
                    }
                } else if (!this$recordCode.equals(other$recordCode)) {
                    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 DeviceMaterialRecordVO;
    }
 
    public int hashCode() {
        Object $recordId = getRecordId();
        int result = (1 * 59) + ($recordId == null ? 43 : $recordId.hashCode());
        Object $materialId = getMaterialId();
        int result2 = (result * 59) + ($materialId == null ? 43 : $materialId.hashCode());
        Object $recordNumber = getRecordNumber();
        int result3 = (result2 * 59) + ($recordNumber == null ? 43 : $recordNumber.hashCode());
        Object $recordCode = getRecordCode();
        int result4 = (result3 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode());
        Object $materialCode = getMaterialCode();
        int result5 = (result4 * 59) + ($materialCode == null ? 43 : $materialCode.hashCode());
        Object $materialName = getMaterialName();
        int result6 = (result5 * 59) + ($materialName == null ? 43 : $materialName.hashCode());
        Object $userName = getUserName();
        int result7 = (result6 * 59) + ($userName == null ? 43 : $userName.hashCode());
        Object $usageTime = getUsageTime();
        return (result7 * 59) + ($usageTime == null ? 43 : $usageTime.hashCode());
    }
 
    public String toString() {
        return "DeviceMaterialRecordVO(recordId=" + getRecordId() + ", recordCode=" + getRecordCode() + ", materialId=" + getMaterialId() + ", materialCode=" + getMaterialCode() + ", materialName=" + getMaterialName() + ", recordNumber=" + getRecordNumber() + ", userName=" + getUserName() + ", usageTime=" + getUsageTime() + ")";
    }
 
    public Long getRecordId() {
        return this.recordId;
    }
 
    public String getRecordCode() {
        return this.recordCode;
    }
 
    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 String getUserName() {
        return this.userName;
    }
 
    public Date getUsageTime() {
        return this.usageTime;
    }
}