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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
package com.qianwen.smartman.modules.trace.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "TraceFlowRecord对象", description = "工件流程记录")
@TableName("blade_trace_flow_record")
 
public class TraceFlowRecord extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("备注")
    private String remark;
    private String tenantId;
    @ApiModelProperty("工件编号")
    private String partNo;
    @ApiModelProperty("流程编号")
    private String flowCode;
    @ApiModelProperty("流程名称")
    private String flowDisplayName;
    @ApiModelProperty("流程状态  1 完成  2 进行中")
    private Integer flowState;
    @ApiModelProperty("流程标识 1 质检合格 2 质检不合格")
    private Integer flowTag;
    @ApiModelProperty("流程设定ID")
    private Long traceFlowSettingId;
    @ApiModelProperty("工位id")
    private Long workstationId;
    @ApiModelProperty("工位编号")
    private String workstationCode;
    @ApiModelProperty("工位名称")
    private String workstationName;
    @ApiModelProperty("工作台id")
    private Long workbenchId;
    @ApiModelProperty("工作台名称")
    private String workbenchName;
    @ApiModelProperty("进入时间")
    private Date entryTime;
    @ApiModelProperty("离开时间")
    private Date leftTime;
    @ApiModelProperty("数据")
    private String extensionData;
    private String archiveTable;
 
    public TraceFlowRecord setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public TraceFlowRecord setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public TraceFlowRecord setPartNo(final String partNo) {
        this.partNo = partNo;
        return this;
    }
 
    public TraceFlowRecord setFlowCode(final String flowCode) {
        this.flowCode = flowCode;
        return this;
    }
 
    public TraceFlowRecord setFlowDisplayName(final String flowDisplayName) {
        this.flowDisplayName = flowDisplayName;
        return this;
    }
 
    public TraceFlowRecord setFlowState(final Integer flowState) {
        this.flowState = flowState;
        return this;
    }
 
    public TraceFlowRecord setFlowTag(final Integer flowTag) {
        this.flowTag = flowTag;
        return this;
    }
 
    public TraceFlowRecord setTraceFlowSettingId(final Long traceFlowSettingId) {
        this.traceFlowSettingId = traceFlowSettingId;
        return this;
    }
 
    public TraceFlowRecord setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public TraceFlowRecord setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
        return this;
    }
 
    public TraceFlowRecord setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
        return this;
    }
 
    public TraceFlowRecord setWorkbenchId(final Long workbenchId) {
        this.workbenchId = workbenchId;
        return this;
    }
 
    public TraceFlowRecord setWorkbenchName(final String workbenchName) {
        this.workbenchName = workbenchName;
        return this;
    }
 
    public TraceFlowRecord setEntryTime(final Date entryTime) {
        this.entryTime = entryTime;
        return this;
    }
 
    public TraceFlowRecord setLeftTime(final Date leftTime) {
        this.leftTime = leftTime;
        return this;
    }
 
    public TraceFlowRecord setExtensionData(final String extensionData) {
        this.extensionData = extensionData;
        return this;
    }
 
    public TraceFlowRecord setArchiveTable(final String archiveTable) {
        this.archiveTable = archiveTable;
        return this;
    }
 
    public String toString() {
        return "TraceFlowRecord(remark=" + getRemark() + ", tenantId=" + getTenantId() + ", partNo=" + getPartNo() + ", flowCode=" + getFlowCode() + ", flowDisplayName=" + getFlowDisplayName() + ", flowState=" + getFlowState() + ", flowTag=" + getFlowTag() + ", traceFlowSettingId=" + getTraceFlowSettingId() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workbenchId=" + getWorkbenchId() + ", workbenchName=" + getWorkbenchName() + ", entryTime=" + getEntryTime() + ", leftTime=" + getLeftTime() + ", extensionData=" + getExtensionData() + ", archiveTable=" + getArchiveTable() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TraceFlowRecord) {
            TraceFlowRecord other = (TraceFlowRecord) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$flowState = getFlowState();
                Object other$flowState = other.getFlowState();
                if (this$flowState == null) {
                    if (other$flowState != null) {
                        return false;
                    }
                } else if (!this$flowState.equals(other$flowState)) {
                    return false;
                }
                Object this$flowTag = getFlowTag();
                Object other$flowTag = other.getFlowTag();
                if (this$flowTag == null) {
                    if (other$flowTag != null) {
                        return false;
                    }
                } else if (!this$flowTag.equals(other$flowTag)) {
                    return false;
                }
                Object this$traceFlowSettingId = getTraceFlowSettingId();
                Object other$traceFlowSettingId = other.getTraceFlowSettingId();
                if (this$traceFlowSettingId == null) {
                    if (other$traceFlowSettingId != null) {
                        return false;
                    }
                } else if (!this$traceFlowSettingId.equals(other$traceFlowSettingId)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$workbenchId = getWorkbenchId();
                Object other$workbenchId = other.getWorkbenchId();
                if (this$workbenchId == null) {
                    if (other$workbenchId != null) {
                        return false;
                    }
                } else if (!this$workbenchId.equals(other$workbenchId)) {
                    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$flowCode = getFlowCode();
                Object other$flowCode = other.getFlowCode();
                if (this$flowCode == null) {
                    if (other$flowCode != null) {
                        return false;
                    }
                } else if (!this$flowCode.equals(other$flowCode)) {
                    return false;
                }
                Object this$flowDisplayName = getFlowDisplayName();
                Object other$flowDisplayName = other.getFlowDisplayName();
                if (this$flowDisplayName == null) {
                    if (other$flowDisplayName != null) {
                        return false;
                    }
                } else if (!this$flowDisplayName.equals(other$flowDisplayName)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    return false;
                }
                Object this$workstationName = getWorkstationName();
                Object other$workstationName = other.getWorkstationName();
                if (this$workstationName == null) {
                    if (other$workstationName != null) {
                        return false;
                    }
                } else if (!this$workstationName.equals(other$workstationName)) {
                    return false;
                }
                Object this$workbenchName = getWorkbenchName();
                Object other$workbenchName = other.getWorkbenchName();
                if (this$workbenchName == null) {
                    if (other$workbenchName != null) {
                        return false;
                    }
                } else if (!this$workbenchName.equals(other$workbenchName)) {
                    return false;
                }
                Object this$entryTime = getEntryTime();
                Object other$entryTime = other.getEntryTime();
                if (this$entryTime == null) {
                    if (other$entryTime != null) {
                        return false;
                    }
                } else if (!this$entryTime.equals(other$entryTime)) {
                    return false;
                }
                Object this$leftTime = getLeftTime();
                Object other$leftTime = other.getLeftTime();
                if (this$leftTime == null) {
                    if (other$leftTime != null) {
                        return false;
                    }
                } else if (!this$leftTime.equals(other$leftTime)) {
                    return false;
                }
                Object this$extensionData = getExtensionData();
                Object other$extensionData = other.getExtensionData();
                if (this$extensionData == null) {
                    if (other$extensionData != null) {
                        return false;
                    }
                } else if (!this$extensionData.equals(other$extensionData)) {
                    return false;
                }
                Object this$archiveTable = getArchiveTable();
                Object other$archiveTable = other.getArchiveTable();
                return this$archiveTable == null ? other$archiveTable == null : this$archiveTable.equals(other$archiveTable);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TraceFlowRecord;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $flowState = getFlowState();
        int result2 = (result * 59) + ($flowState == null ? 43 : $flowState.hashCode());
        Object $flowTag = getFlowTag();
        int result3 = (result2 * 59) + ($flowTag == null ? 43 : $flowTag.hashCode());
        Object $traceFlowSettingId = getTraceFlowSettingId();
        int result4 = (result3 * 59) + ($traceFlowSettingId == null ? 43 : $traceFlowSettingId.hashCode());
        Object $workstationId = getWorkstationId();
        int result5 = (result4 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $workbenchId = getWorkbenchId();
        int result6 = (result5 * 59) + ($workbenchId == null ? 43 : $workbenchId.hashCode());
        Object $remark = getRemark();
        int result7 = (result6 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $tenantId = getTenantId();
        int result8 = (result7 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $partNo = getPartNo();
        int result9 = (result8 * 59) + ($partNo == null ? 43 : $partNo.hashCode());
        Object $flowCode = getFlowCode();
        int result10 = (result9 * 59) + ($flowCode == null ? 43 : $flowCode.hashCode());
        Object $flowDisplayName = getFlowDisplayName();
        int result11 = (result10 * 59) + ($flowDisplayName == null ? 43 : $flowDisplayName.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result12 = (result11 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result13 = (result12 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $workbenchName = getWorkbenchName();
        int result14 = (result13 * 59) + ($workbenchName == null ? 43 : $workbenchName.hashCode());
        Object $entryTime = getEntryTime();
        int result15 = (result14 * 59) + ($entryTime == null ? 43 : $entryTime.hashCode());
        Object $leftTime = getLeftTime();
        int result16 = (result15 * 59) + ($leftTime == null ? 43 : $leftTime.hashCode());
        Object $extensionData = getExtensionData();
        int result17 = (result16 * 59) + ($extensionData == null ? 43 : $extensionData.hashCode());
        Object $archiveTable = getArchiveTable();
        return (result17 * 59) + ($archiveTable == null ? 43 : $archiveTable.hashCode());
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getPartNo() {
        return this.partNo;
    }
 
    public String getFlowCode() {
        return this.flowCode;
    }
 
    public String getFlowDisplayName() {
        return this.flowDisplayName;
    }
 
    public Integer getFlowState() {
        return this.flowState;
    }
 
    public Integer getFlowTag() {
        return this.flowTag;
    }
 
    public Long getTraceFlowSettingId() {
        return this.traceFlowSettingId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Long getWorkbenchId() {
        return this.workbenchId;
    }
 
    public String getWorkbenchName() {
        return this.workbenchName;
    }
 
    public Date getEntryTime() {
        return this.entryTime;
    }
 
    public Date getLeftTime() {
        return this.leftTime;
    }
 
    public String getExtensionData() {
        return this.extensionData;
    }
 
    public String getArchiveTable() {
        return this.archiveTable;
    }
}