yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
package com.qianwen.smartman.modules.tpm.vo.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@HeadRowHeight(20)
@ColumnWidth(25)
@ContentRowHeight(18)
 
public class MaintainRecordExcel implements Serializable {
    @ExcelProperty({"任务单号"})
    @ApiModelProperty("任务单号")
    private String recordCode;
    @ExcelProperty({"计划单号"})
    @ApiModelProperty("计划单号")
    private String planCode;
    @ExcelProperty({"机器编码"})
    @ApiModelProperty("机器编码")
    private String deviceCode;
    @ExcelProperty({"机器名称"})
    @ApiModelProperty("机器名称")
    private String deviceName;
    @ExcelProperty({"机器类型"})
    @ApiModelProperty("机器类型")
    private String deviceTypeName;
    @ExcelProperty({"保养项目"})
    @ApiModelProperty("保养项目")
    private String projectName;
    @ExcelProperty({"保养开始时间"})
    @ApiModelProperty("保养开始时间")
    private String startTime;
    @ExcelProperty({"保养完成时间"})
    @ApiModelProperty("保养完成时间")
    private String endTime;
    @ExcelProperty({"是否延期"})
    @ApiModelProperty("是否延期")
    private String isDelay;
    @ExcelProperty({"延期天数"})
    @ApiModelProperty("延期天数")
    private Integer delayDays;
    @ExcelProperty({"延期原因"})
    @ApiModelProperty("延期原因")
    private String delayReason;
    @ExcelProperty({"保养负责人名称"})
    @ApiModelProperty("保养负责人名称")
    private String maintainUserName;
 
    public void setRecordCode(final String recordCode) {
        this.recordCode = recordCode;
    }
 
    public void setPlanCode(final String planCode) {
        this.planCode = planCode;
    }
 
    public void setDeviceCode(final String deviceCode) {
        this.deviceCode = deviceCode;
    }
 
    public void setDeviceName(final String deviceName) {
        this.deviceName = deviceName;
    }
 
    public void setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }
 
    public void setProjectName(final String projectName) {
        this.projectName = projectName;
    }
 
    public void setStartTime(final String startTime) {
        this.startTime = startTime;
    }
 
    public void setEndTime(final String endTime) {
        this.endTime = endTime;
    }
 
    public void setIsDelay(final String isDelay) {
        this.isDelay = isDelay;
    }
 
    public void setDelayDays(final Integer delayDays) {
        this.delayDays = delayDays;
    }
 
    public void setDelayReason(final String delayReason) {
        this.delayReason = delayReason;
    }
 
    public void setMaintainUserName(final String maintainUserName) {
        this.maintainUserName = maintainUserName;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MaintainRecordExcel) {
            MaintainRecordExcel other = (MaintainRecordExcel) o;
            if (other.canEqual(this)) {
                Object this$delayDays = getDelayDays();
                Object other$delayDays = other.getDelayDays();
                if (this$delayDays == null) {
                    if (other$delayDays != null) {
                        return false;
                    }
                } else if (!this$delayDays.equals(other$delayDays)) {
                    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$planCode = getPlanCode();
                Object other$planCode = other.getPlanCode();
                if (this$planCode == null) {
                    if (other$planCode != null) {
                        return false;
                    }
                } else if (!this$planCode.equals(other$planCode)) {
                    return false;
                }
                Object this$deviceCode = getDeviceCode();
                Object other$deviceCode = other.getDeviceCode();
                if (this$deviceCode == null) {
                    if (other$deviceCode != null) {
                        return false;
                    }
                } else if (!this$deviceCode.equals(other$deviceCode)) {
                    return false;
                }
                Object this$deviceName = getDeviceName();
                Object other$deviceName = other.getDeviceName();
                if (this$deviceName == null) {
                    if (other$deviceName != null) {
                        return false;
                    }
                } else if (!this$deviceName.equals(other$deviceName)) {
                    return false;
                }
                Object this$deviceTypeName = getDeviceTypeName();
                Object other$deviceTypeName = other.getDeviceTypeName();
                if (this$deviceTypeName == null) {
                    if (other$deviceTypeName != null) {
                        return false;
                    }
                } else if (!this$deviceTypeName.equals(other$deviceTypeName)) {
                    return false;
                }
                Object this$projectName = getProjectName();
                Object other$projectName = other.getProjectName();
                if (this$projectName == null) {
                    if (other$projectName != null) {
                        return false;
                    }
                } else if (!this$projectName.equals(other$projectName)) {
                    return false;
                }
                Object this$startTime = getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    return false;
                }
                Object this$endTime = getEndTime();
                Object other$endTime = other.getEndTime();
                if (this$endTime == null) {
                    if (other$endTime != null) {
                        return false;
                    }
                } else if (!this$endTime.equals(other$endTime)) {
                    return false;
                }
                Object this$isDelay = getIsDelay();
                Object other$isDelay = other.getIsDelay();
                if (this$isDelay == null) {
                    if (other$isDelay != null) {
                        return false;
                    }
                } else if (!this$isDelay.equals(other$isDelay)) {
                    return false;
                }
                Object this$delayReason = getDelayReason();
                Object other$delayReason = other.getDelayReason();
                if (this$delayReason == null) {
                    if (other$delayReason != null) {
                        return false;
                    }
                } else if (!this$delayReason.equals(other$delayReason)) {
                    return false;
                }
                Object this$maintainUserName = getMaintainUserName();
                Object other$maintainUserName = other.getMaintainUserName();
                return this$maintainUserName == null ? other$maintainUserName == null : this$maintainUserName.equals(other$maintainUserName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MaintainRecordExcel;
    }
 
    public int hashCode() {
        Object $delayDays = getDelayDays();
        int result = (1 * 59) + ($delayDays == null ? 43 : $delayDays.hashCode());
        Object $recordCode = getRecordCode();
        int result2 = (result * 59) + ($recordCode == null ? 43 : $recordCode.hashCode());
        Object $planCode = getPlanCode();
        int result3 = (result2 * 59) + ($planCode == null ? 43 : $planCode.hashCode());
        Object $deviceCode = getDeviceCode();
        int result4 = (result3 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
        Object $deviceName = getDeviceName();
        int result5 = (result4 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        int result6 = (result5 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
        Object $projectName = getProjectName();
        int result7 = (result6 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
        Object $startTime = getStartTime();
        int result8 = (result7 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        int result9 = (result8 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
        Object $isDelay = getIsDelay();
        int result10 = (result9 * 59) + ($isDelay == null ? 43 : $isDelay.hashCode());
        Object $delayReason = getDelayReason();
        int result11 = (result10 * 59) + ($delayReason == null ? 43 : $delayReason.hashCode());
        Object $maintainUserName = getMaintainUserName();
        return (result11 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode());
    }
 
    public String toString() {
        return "MaintainRecordExcel(recordCode=" + getRecordCode() + ", planCode=" + getPlanCode() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeName=" + getDeviceTypeName() + ", projectName=" + getProjectName() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", isDelay=" + getIsDelay() + ", delayDays=" + getDelayDays() + ", delayReason=" + getDelayReason() + ", maintainUserName=" + getMaintainUserName() + ")";
    }
 
    public String getRecordCode() {
        return this.recordCode;
    }
 
    public String getPlanCode() {
        return this.planCode;
    }
 
    public String getDeviceCode() {
        return this.deviceCode;
    }
 
    public String getDeviceName() {
        return this.deviceName;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public String getProjectName() {
        return this.projectName;
    }
 
    public String getStartTime() {
        return this.startTime;
    }
 
    public String getEndTime() {
        return this.endTime;
    }
 
    public String getIsDelay() {
        return this.isDelay;
    }
 
    public Integer getDelayDays() {
        return this.delayDays;
    }
 
    public String getDelayReason() {
        return this.delayReason;
    }
 
    public String getMaintainUserName() {
        return this.maintainUserName;
    }
}