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
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
package com.qianwen.smartman.modules.fms.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "FmsInstructionRecord对象", description = "指令记录表")
@TableName("blade_fms_instruction_record")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/entity/FmsInstructionRecord.class */
public class FmsInstructionRecord extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("所属租户")
    private String tenantId;
    @ApiModelProperty("工单号")
    private String orderCode;
    @ApiModelProperty("工序号")
    private String processCode;
    @ApiModelProperty("状态 0-已生成;1-执行中;2-执行完成;3-执行异常")
    private Integer state;
    @ApiModelProperty("起始位置 起始设备编号")
    private String startPosition;
    @ApiModelProperty("起始工作台编号")
    private String startBench;
    @ApiModelProperty("目标位置 目标设备编号")
    private String endPosition;
    @ApiModelProperty("目标工作台编号")
    private String endBench;
    @ApiModelProperty("托盘编号")
    private String trayCode;
    @ApiModelProperty("程序号")
    private String programNo;
    @ApiModelProperty("程序偏移")
    private String programOffset;
    @ApiModelProperty("信号状态 1-动作执行;2-数据传递")
    private Integer signalState;
    @ApiModelProperty("异常原因")
    private String abnormalReason;
    @ApiModelProperty("产生日志")
    private String log;
    @ApiModelProperty("是否装卸站末件")
    private Boolean lastLoad;
    @ApiModelProperty("停止标记(0:未停止,1:已停止)")
    private Integer changeModel;
 
    public FmsInstructionRecord setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public FmsInstructionRecord setOrderCode(final String orderCode) {
        this.orderCode = orderCode;
        return this;
    }
 
    public FmsInstructionRecord setProcessCode(final String processCode) {
        this.processCode = processCode;
        return this;
    }
 
    public FmsInstructionRecord setState(final Integer state) {
        this.state = state;
        return this;
    }
 
    public FmsInstructionRecord setStartPosition(final String startPosition) {
        this.startPosition = startPosition;
        return this;
    }
 
    public FmsInstructionRecord setStartBench(final String startBench) {
        this.startBench = startBench;
        return this;
    }
 
    public FmsInstructionRecord setEndPosition(final String endPosition) {
        this.endPosition = endPosition;
        return this;
    }
 
    public FmsInstructionRecord setEndBench(final String endBench) {
        this.endBench = endBench;
        return this;
    }
 
    public FmsInstructionRecord setTrayCode(final String trayCode) {
        this.trayCode = trayCode;
        return this;
    }
 
    public FmsInstructionRecord setProgramNo(final String programNo) {
        this.programNo = programNo;
        return this;
    }
 
    public FmsInstructionRecord setProgramOffset(final String programOffset) {
        this.programOffset = programOffset;
        return this;
    }
 
    public FmsInstructionRecord setSignalState(final Integer signalState) {
        this.signalState = signalState;
        return this;
    }
 
    public FmsInstructionRecord setAbnormalReason(final String abnormalReason) {
        this.abnormalReason = abnormalReason;
        return this;
    }
 
    public FmsInstructionRecord setLog(final String log) {
        this.log = log;
        return this;
    }
 
    public FmsInstructionRecord setLastLoad(final Boolean lastLoad) {
        this.lastLoad = lastLoad;
        return this;
    }
 
    public FmsInstructionRecord setChangeModel(final Integer changeModel) {
        this.changeModel = changeModel;
        return this;
    }
 
    public String toString() {
        return "FmsInstructionRecord(tenantId=" + getTenantId() + ", orderCode=" + getOrderCode() + ", processCode=" + getProcessCode() + ", state=" + getState() + ", startPosition=" + getStartPosition() + ", startBench=" + getStartBench() + ", endPosition=" + getEndPosition() + ", endBench=" + getEndBench() + ", trayCode=" + getTrayCode() + ", programNo=" + getProgramNo() + ", programOffset=" + getProgramOffset() + ", signalState=" + getSignalState() + ", abnormalReason=" + getAbnormalReason() + ", log=" + getLog() + ", lastLoad=" + getLastLoad() + ", changeModel=" + getChangeModel() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof FmsInstructionRecord) {
            FmsInstructionRecord other = (FmsInstructionRecord) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$state = getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }
                Object this$signalState = getSignalState();
                Object other$signalState = other.getSignalState();
                if (this$signalState == null) {
                    if (other$signalState != null) {
                        return false;
                    }
                } else if (!this$signalState.equals(other$signalState)) {
                    return false;
                }
                Object this$lastLoad = getLastLoad();
                Object other$lastLoad = other.getLastLoad();
                if (this$lastLoad == null) {
                    if (other$lastLoad != null) {
                        return false;
                    }
                } else if (!this$lastLoad.equals(other$lastLoad)) {
                    return false;
                }
                Object this$changeModel = getChangeModel();
                Object other$changeModel = other.getChangeModel();
                if (this$changeModel == null) {
                    if (other$changeModel != null) {
                        return false;
                    }
                } else if (!this$changeModel.equals(other$changeModel)) {
                    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$orderCode = getOrderCode();
                Object other$orderCode = other.getOrderCode();
                if (this$orderCode == null) {
                    if (other$orderCode != null) {
                        return false;
                    }
                } else if (!this$orderCode.equals(other$orderCode)) {
                    return false;
                }
                Object this$processCode = getProcessCode();
                Object other$processCode = other.getProcessCode();
                if (this$processCode == null) {
                    if (other$processCode != null) {
                        return false;
                    }
                } else if (!this$processCode.equals(other$processCode)) {
                    return false;
                }
                Object this$startPosition = getStartPosition();
                Object other$startPosition = other.getStartPosition();
                if (this$startPosition == null) {
                    if (other$startPosition != null) {
                        return false;
                    }
                } else if (!this$startPosition.equals(other$startPosition)) {
                    return false;
                }
                Object this$startBench = getStartBench();
                Object other$startBench = other.getStartBench();
                if (this$startBench == null) {
                    if (other$startBench != null) {
                        return false;
                    }
                } else if (!this$startBench.equals(other$startBench)) {
                    return false;
                }
                Object this$endPosition = getEndPosition();
                Object other$endPosition = other.getEndPosition();
                if (this$endPosition == null) {
                    if (other$endPosition != null) {
                        return false;
                    }
                } else if (!this$endPosition.equals(other$endPosition)) {
                    return false;
                }
                Object this$endBench = getEndBench();
                Object other$endBench = other.getEndBench();
                if (this$endBench == null) {
                    if (other$endBench != null) {
                        return false;
                    }
                } else if (!this$endBench.equals(other$endBench)) {
                    return false;
                }
                Object this$trayCode = getTrayCode();
                Object other$trayCode = other.getTrayCode();
                if (this$trayCode == null) {
                    if (other$trayCode != null) {
                        return false;
                    }
                } else if (!this$trayCode.equals(other$trayCode)) {
                    return false;
                }
                Object this$programNo = getProgramNo();
                Object other$programNo = other.getProgramNo();
                if (this$programNo == null) {
                    if (other$programNo != null) {
                        return false;
                    }
                } else if (!this$programNo.equals(other$programNo)) {
                    return false;
                }
                Object this$programOffset = getProgramOffset();
                Object other$programOffset = other.getProgramOffset();
                if (this$programOffset == null) {
                    if (other$programOffset != null) {
                        return false;
                    }
                } else if (!this$programOffset.equals(other$programOffset)) {
                    return false;
                }
                Object this$abnormalReason = getAbnormalReason();
                Object other$abnormalReason = other.getAbnormalReason();
                if (this$abnormalReason == null) {
                    if (other$abnormalReason != null) {
                        return false;
                    }
                } else if (!this$abnormalReason.equals(other$abnormalReason)) {
                    return false;
                }
                Object this$log = getLog();
                Object other$log = other.getLog();
                return this$log == null ? other$log == null : this$log.equals(other$log);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof FmsInstructionRecord;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $state = getState();
        int result2 = (result * 59) + ($state == null ? 43 : $state.hashCode());
        Object $signalState = getSignalState();
        int result3 = (result2 * 59) + ($signalState == null ? 43 : $signalState.hashCode());
        Object $lastLoad = getLastLoad();
        int result4 = (result3 * 59) + ($lastLoad == null ? 43 : $lastLoad.hashCode());
        Object $changeModel = getChangeModel();
        int result5 = (result4 * 59) + ($changeModel == null ? 43 : $changeModel.hashCode());
        Object $tenantId = getTenantId();
        int result6 = (result5 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $orderCode = getOrderCode();
        int result7 = (result6 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode());
        Object $processCode = getProcessCode();
        int result8 = (result7 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
        Object $startPosition = getStartPosition();
        int result9 = (result8 * 59) + ($startPosition == null ? 43 : $startPosition.hashCode());
        Object $startBench = getStartBench();
        int result10 = (result9 * 59) + ($startBench == null ? 43 : $startBench.hashCode());
        Object $endPosition = getEndPosition();
        int result11 = (result10 * 59) + ($endPosition == null ? 43 : $endPosition.hashCode());
        Object $endBench = getEndBench();
        int result12 = (result11 * 59) + ($endBench == null ? 43 : $endBench.hashCode());
        Object $trayCode = getTrayCode();
        int result13 = (result12 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
        Object $programNo = getProgramNo();
        int result14 = (result13 * 59) + ($programNo == null ? 43 : $programNo.hashCode());
        Object $programOffset = getProgramOffset();
        int result15 = (result14 * 59) + ($programOffset == null ? 43 : $programOffset.hashCode());
        Object $abnormalReason = getAbnormalReason();
        int result16 = (result15 * 59) + ($abnormalReason == null ? 43 : $abnormalReason.hashCode());
        Object $log = getLog();
        return (result16 * 59) + ($log == null ? 43 : $log.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getOrderCode() {
        return this.orderCode;
    }
 
    public String getProcessCode() {
        return this.processCode;
    }
 
    public Integer getState() {
        return this.state;
    }
 
    public String getStartPosition() {
        return this.startPosition;
    }
 
    public String getStartBench() {
        return this.startBench;
    }
 
    public String getEndPosition() {
        return this.endPosition;
    }
 
    public String getEndBench() {
        return this.endBench;
    }
 
    public String getTrayCode() {
        return this.trayCode;
    }
 
    public String getProgramNo() {
        return this.programNo;
    }
 
    public String getProgramOffset() {
        return this.programOffset;
    }
 
    public Integer getSignalState() {
        return this.signalState;
    }
 
    public String getAbnormalReason() {
        return this.abnormalReason;
    }
 
    public String getLog() {
        return this.log;
    }
 
    public Boolean getLastLoad() {
        return this.lastLoad;
    }
 
    public Integer getChangeModel() {
        return this.changeModel;
    }
}