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
package com.qianwen.smartman.modules.fms.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 = "FmsWorkStationRecord对象", description = "工单开报工记录")
@TableName("blade_fms_work_station_record")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/entity/FmsWorkStationRecord.class */
public class FmsWorkStationRecord extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("工单ID")
    private Long orderId;
    @ApiModelProperty("工单工序ID")
    private Long orderProcessId;
    @ApiModelProperty("开工工位ID")
    private Long workStationId;
    @ApiModelProperty("工位名称")
    private String workStationName;
    @ApiModelProperty("开工时间")
    private Date startTime;
    @ApiModelProperty("结束时间")
    private Date endTime;
    @ApiModelProperty("报工合格数量")
    private Integer qualifyNum;
    @ApiModelProperty("报工不合格数量")
    private Integer unqualifyNum;
    @ApiModelProperty("报工工时")
    private Integer workTime;
    @ApiModelProperty("托盘号")
    private String trayCode;
    @ApiModelProperty("零件号")
    private String partCode;
    @ApiModelProperty("备注")
    private String remark;
 
    public FmsWorkStationRecord setOrderId(final Long orderId) {
        this.orderId = orderId;
        return this;
    }
 
    public FmsWorkStationRecord setOrderProcessId(final Long orderProcessId) {
        this.orderProcessId = orderProcessId;
        return this;
    }
 
    public FmsWorkStationRecord setWorkStationId(final Long workStationId) {
        this.workStationId = workStationId;
        return this;
    }
 
    public FmsWorkStationRecord setWorkStationName(final String workStationName) {
        this.workStationName = workStationName;
        return this;
    }
 
    public FmsWorkStationRecord setStartTime(final Date startTime) {
        this.startTime = startTime;
        return this;
    }
 
    public FmsWorkStationRecord setEndTime(final Date endTime) {
        this.endTime = endTime;
        return this;
    }
 
    public FmsWorkStationRecord setQualifyNum(final Integer qualifyNum) {
        this.qualifyNum = qualifyNum;
        return this;
    }
 
    public FmsWorkStationRecord setUnqualifyNum(final Integer unqualifyNum) {
        this.unqualifyNum = unqualifyNum;
        return this;
    }
 
    public FmsWorkStationRecord setWorkTime(final Integer workTime) {
        this.workTime = workTime;
        return this;
    }
 
    public FmsWorkStationRecord setTrayCode(final String trayCode) {
        this.trayCode = trayCode;
        return this;
    }
 
    public FmsWorkStationRecord setPartCode(final String partCode) {
        this.partCode = partCode;
        return this;
    }
 
    public FmsWorkStationRecord setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public String toString() {
        return "FmsWorkStationRecord(orderId=" + getOrderId() + ", orderProcessId=" + getOrderProcessId() + ", workStationId=" + getWorkStationId() + ", workStationName=" + getWorkStationName() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", qualifyNum=" + getQualifyNum() + ", unqualifyNum=" + getUnqualifyNum() + ", workTime=" + getWorkTime() + ", trayCode=" + getTrayCode() + ", partCode=" + getPartCode() + ", remark=" + getRemark() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof FmsWorkStationRecord) {
            FmsWorkStationRecord other = (FmsWorkStationRecord) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$orderId = getOrderId();
                Object other$orderId = other.getOrderId();
                if (this$orderId == null) {
                    if (other$orderId != null) {
                        return false;
                    }
                } else if (!this$orderId.equals(other$orderId)) {
                    return false;
                }
                Object this$orderProcessId = getOrderProcessId();
                Object other$orderProcessId = other.getOrderProcessId();
                if (this$orderProcessId == null) {
                    if (other$orderProcessId != null) {
                        return false;
                    }
                } else if (!this$orderProcessId.equals(other$orderProcessId)) {
                    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$qualifyNum = getQualifyNum();
                Object other$qualifyNum = other.getQualifyNum();
                if (this$qualifyNum == null) {
                    if (other$qualifyNum != null) {
                        return false;
                    }
                } else if (!this$qualifyNum.equals(other$qualifyNum)) {
                    return false;
                }
                Object this$unqualifyNum = getUnqualifyNum();
                Object other$unqualifyNum = other.getUnqualifyNum();
                if (this$unqualifyNum == null) {
                    if (other$unqualifyNum != null) {
                        return false;
                    }
                } else if (!this$unqualifyNum.equals(other$unqualifyNum)) {
                    return false;
                }
                Object this$workTime = getWorkTime();
                Object other$workTime = other.getWorkTime();
                if (this$workTime == null) {
                    if (other$workTime != null) {
                        return false;
                    }
                } else if (!this$workTime.equals(other$workTime)) {
                    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$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$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$partCode = getPartCode();
                Object other$partCode = other.getPartCode();
                if (this$partCode == null) {
                    if (other$partCode != null) {
                        return false;
                    }
                } else if (!this$partCode.equals(other$partCode)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof FmsWorkStationRecord;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $orderId = getOrderId();
        int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
        Object $orderProcessId = getOrderProcessId();
        int result3 = (result2 * 59) + ($orderProcessId == null ? 43 : $orderProcessId.hashCode());
        Object $workStationId = getWorkStationId();
        int result4 = (result3 * 59) + ($workStationId == null ? 43 : $workStationId.hashCode());
        Object $qualifyNum = getQualifyNum();
        int result5 = (result4 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
        Object $unqualifyNum = getUnqualifyNum();
        int result6 = (result5 * 59) + ($unqualifyNum == null ? 43 : $unqualifyNum.hashCode());
        Object $workTime = getWorkTime();
        int result7 = (result6 * 59) + ($workTime == null ? 43 : $workTime.hashCode());
        Object $workStationName = getWorkStationName();
        int result8 = (result7 * 59) + ($workStationName == null ? 43 : $workStationName.hashCode());
        Object $startTime = getStartTime();
        int result9 = (result8 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        int result10 = (result9 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
        Object $trayCode = getTrayCode();
        int result11 = (result10 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
        Object $partCode = getPartCode();
        int result12 = (result11 * 59) + ($partCode == null ? 43 : $partCode.hashCode());
        Object $remark = getRemark();
        return (result12 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public Long getOrderId() {
        return this.orderId;
    }
 
    public Long getOrderProcessId() {
        return this.orderProcessId;
    }
 
    public Long getWorkStationId() {
        return this.workStationId;
    }
 
    public String getWorkStationName() {
        return this.workStationName;
    }
 
    public Date getStartTime() {
        return this.startTime;
    }
 
    public Date getEndTime() {
        return this.endTime;
    }
 
    public Integer getQualifyNum() {
        return this.qualifyNum;
    }
 
    public Integer getUnqualifyNum() {
        return this.unqualifyNum;
    }
 
    public Integer getWorkTime() {
        return this.workTime;
    }
 
    public String getTrayCode() {
        return this.trayCode;
    }
 
    public String getPartCode() {
        return this.partCode;
    }
 
    public String getRemark() {
        return this.remark;
    }
}