yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
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
package com.qianwen.smartman.modules.trace.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "TraceCatalogVo对象", description = "工件上线记录")
 
public class TraceCatalogVO implements Serializable {
    @ApiModelProperty("备注")
    @Size(max = 255, message = "备注长度不能超过255")
    private String remark;
    @Size(max = 10, message = "长度不能超过10")
    private String tenantId;
    @NotBlank(message = "工件编号不能为空")
    @ApiModelProperty("工件编号")
    @Size(max = 50, message = "工件编号长度不能超过50")
    private String partNo;
    @NotBlank(message = "批次号不能为空")
    @ApiModelProperty("批次号")
    @Size(max = 50, message = "批次号长度不能超过50")
    private String batchNumber;
    @ApiModelProperty("上线时间")
    private Date onlineTime;
    @ApiModelProperty("下线时间")
    private Date offlineTime;
    @ApiModelProperty("工位组id")
    private Long workstationGroupId;
    @ApiModelProperty("是否合格:0 否 1 是")
    private Integer qualified;
    @ApiModelProperty("是否返工:0 否 1 是")
    private Integer isReworkPart;
    @ApiModelProperty("班次下标")
    private Integer shiftIndex;
    @ApiModelProperty("班次下标别名")
    @Size(max = 50, message = "班次下标别名长度不能超过50")
    private String shiftIndexName;
    @ApiModelProperty("计划id,无计划填0")
    private Integer planId;
    private Long id;
    private Integer status;
    @ApiModelProperty("工件状态:1已下线  2未下线  3未知")
    private Integer traceStatus;
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setTenantId(final String tenantId) {
        this.tenantId = tenantId;
    }
 
    public void setPartNo(final String partNo) {
        this.partNo = partNo;
    }
 
    public void setBatchNumber(final String batchNumber) {
        this.batchNumber = batchNumber;
    }
 
    public void setOnlineTime(final Date onlineTime) {
        this.onlineTime = onlineTime;
    }
 
    public void setOfflineTime(final Date offlineTime) {
        this.offlineTime = offlineTime;
    }
 
    public void setWorkstationGroupId(final Long workstationGroupId) {
        this.workstationGroupId = workstationGroupId;
    }
 
    public void setQualified(final Integer qualified) {
        this.qualified = qualified;
    }
 
    public void setIsReworkPart(final Integer isReworkPart) {
        this.isReworkPart = isReworkPart;
    }
 
    public void setShiftIndex(final Integer shiftIndex) {
        this.shiftIndex = shiftIndex;
    }
 
    public void setShiftIndexName(final String shiftIndexName) {
        this.shiftIndexName = shiftIndexName;
    }
 
    public void setPlanId(final Integer planId) {
        this.planId = planId;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setTraceStatus(final Integer traceStatus) {
        this.traceStatus = traceStatus;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TraceCatalogVO) {
            TraceCatalogVO other = (TraceCatalogVO) o;
            if (other.canEqual(this)) {
                Object this$workstationGroupId = getWorkstationGroupId();
                Object other$workstationGroupId = other.getWorkstationGroupId();
                if (this$workstationGroupId == null) {
                    if (other$workstationGroupId != null) {
                        return false;
                    }
                } else if (!this$workstationGroupId.equals(other$workstationGroupId)) {
                    return false;
                }
                Object this$qualified = getQualified();
                Object other$qualified = other.getQualified();
                if (this$qualified == null) {
                    if (other$qualified != null) {
                        return false;
                    }
                } else if (!this$qualified.equals(other$qualified)) {
                    return false;
                }
                Object this$isReworkPart = getIsReworkPart();
                Object other$isReworkPart = other.getIsReworkPart();
                if (this$isReworkPart == null) {
                    if (other$isReworkPart != null) {
                        return false;
                    }
                } else if (!this$isReworkPart.equals(other$isReworkPart)) {
                    return false;
                }
                Object this$shiftIndex = getShiftIndex();
                Object other$shiftIndex = other.getShiftIndex();
                if (this$shiftIndex == null) {
                    if (other$shiftIndex != null) {
                        return false;
                    }
                } else if (!this$shiftIndex.equals(other$shiftIndex)) {
                    return false;
                }
                Object this$planId = getPlanId();
                Object other$planId = other.getPlanId();
                if (this$planId == null) {
                    if (other$planId != null) {
                        return false;
                    }
                } else if (!this$planId.equals(other$planId)) {
                    return false;
                }
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }
                Object this$traceStatus = getTraceStatus();
                Object other$traceStatus = other.getTraceStatus();
                if (this$traceStatus == null) {
                    if (other$traceStatus != null) {
                        return false;
                    }
                } else if (!this$traceStatus.equals(other$traceStatus)) {
                    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$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$partNo = getPartNo();
                Object other$partNo = other.getPartNo();
                if (this$partNo == null) {
                    if (other$partNo != null) {
                        return false;
                    }
                } else if (!this$partNo.equals(other$partNo)) {
                    return false;
                }
                Object this$batchNumber = getBatchNumber();
                Object other$batchNumber = other.getBatchNumber();
                if (this$batchNumber == null) {
                    if (other$batchNumber != null) {
                        return false;
                    }
                } else if (!this$batchNumber.equals(other$batchNumber)) {
                    return false;
                }
                Object this$onlineTime = getOnlineTime();
                Object other$onlineTime = other.getOnlineTime();
                if (this$onlineTime == null) {
                    if (other$onlineTime != null) {
                        return false;
                    }
                } else if (!this$onlineTime.equals(other$onlineTime)) {
                    return false;
                }
                Object this$offlineTime = getOfflineTime();
                Object other$offlineTime = other.getOfflineTime();
                if (this$offlineTime == null) {
                    if (other$offlineTime != null) {
                        return false;
                    }
                } else if (!this$offlineTime.equals(other$offlineTime)) {
                    return false;
                }
                Object this$shiftIndexName = getShiftIndexName();
                Object other$shiftIndexName = other.getShiftIndexName();
                return this$shiftIndexName == null ? other$shiftIndexName == null : this$shiftIndexName.equals(other$shiftIndexName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TraceCatalogVO;
    }
 
    public int hashCode() {
        Object $workstationGroupId = getWorkstationGroupId();
        int result = (1 * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode());
        Object $qualified = getQualified();
        int result2 = (result * 59) + ($qualified == null ? 43 : $qualified.hashCode());
        Object $isReworkPart = getIsReworkPart();
        int result3 = (result2 * 59) + ($isReworkPart == null ? 43 : $isReworkPart.hashCode());
        Object $shiftIndex = getShiftIndex();
        int result4 = (result3 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
        Object $planId = getPlanId();
        int result5 = (result4 * 59) + ($planId == null ? 43 : $planId.hashCode());
        Object $id = getId();
        int result6 = (result5 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result7 = (result6 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $traceStatus = getTraceStatus();
        int result8 = (result7 * 59) + ($traceStatus == null ? 43 : $traceStatus.hashCode());
        Object $remark = getRemark();
        int result9 = (result8 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $tenantId = getTenantId();
        int result10 = (result9 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $partNo = getPartNo();
        int result11 = (result10 * 59) + ($partNo == null ? 43 : $partNo.hashCode());
        Object $batchNumber = getBatchNumber();
        int result12 = (result11 * 59) + ($batchNumber == null ? 43 : $batchNumber.hashCode());
        Object $onlineTime = getOnlineTime();
        int result13 = (result12 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
        Object $offlineTime = getOfflineTime();
        int result14 = (result13 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
        Object $shiftIndexName = getShiftIndexName();
        return (result14 * 59) + ($shiftIndexName == null ? 43 : $shiftIndexName.hashCode());
    }
 
    public String toString() {
        return "TraceCatalogVO(remark=" + getRemark() + ", tenantId=" + getTenantId() + ", partNo=" + getPartNo() + ", batchNumber=" + getBatchNumber() + ", onlineTime=" + getOnlineTime() + ", offlineTime=" + getOfflineTime() + ", workstationGroupId=" + getWorkstationGroupId() + ", qualified=" + getQualified() + ", isReworkPart=" + getIsReworkPart() + ", shiftIndex=" + getShiftIndex() + ", shiftIndexName=" + getShiftIndexName() + ", planId=" + getPlanId() + ", id=" + getId() + ", status=" + getStatus() + ", traceStatus=" + getTraceStatus() + ")";
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getPartNo() {
        return this.partNo;
    }
 
    public String getBatchNumber() {
        return this.batchNumber;
    }
 
    public Date getOnlineTime() {
        return this.onlineTime;
    }
 
    public Date getOfflineTime() {
        return this.offlineTime;
    }
 
    public Long getWorkstationGroupId() {
        return this.workstationGroupId;
    }
 
    public Integer getQualified() {
        return this.qualified;
    }
 
    public Integer getIsReworkPart() {
        return this.isReworkPart;
    }
 
    public Integer getShiftIndex() {
        return this.shiftIndex;
    }
 
    public String getShiftIndexName() {
        return this.shiftIndexName;
    }
 
    public Integer getPlanId() {
        return this.planId;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public Integer getTraceStatus() {
        return this.traceStatus;
    }
}