Blame view

src/main/java/com/huaheng/pc/task/taskHeader/domain/TaskHeader.java 10.3 KB
mahuandong authored
1
2
package com.huaheng.pc.task.taskHeader.domain;
3
import com.baomidou.mybatisplus.annotation.*;
mahuandong authored
4
5
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
6
7
import lombok.Data;
mahuandong authored
8
9
10
import java.io.Serializable;
import java.util.Date;
11
@ApiModel(value = "com.huaheng.pc.task.taskHeader.TaskHeader")
mahuandong authored
12
13
14
15
16
17
18
@Data
@TableName(value = "task_header")
public class TaskHeader implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
19
    @ApiModelProperty(value = "ID")
mahuandong authored
20
21
    private Integer id;
周鸿 authored
22
23
24
    @TableField(exist = false)
    private String ids;
mahuandong authored
25
26
27
28
    /**
     * 仓库
     */
    @TableField(value = "warehouseCode")
29
    @ApiModelProperty(value = "仓库")
mahuandong authored
30
31
32
33
34
35
    private String warehouseCode;

    /**
     * 货主
     */
    @TableField(value = "companyCode")
36
    @ApiModelProperty(value = "货主")
mahuandong authored
37
38
39
    private String companyCode;

    /**
40
41
42
     * 库区
     */
    @TableField(value = "zoneCode")
43
    @ApiModelProperty(value = "库区")
44
45
46
    private String zoneCode;

    /**
游杰 authored
47
48
49
     * 库区
     */
    @TableField(value = "area")
50
    @ApiModelProperty(value = "区域")
游杰 authored
51
52
53
54
55
56
    private String area;

    /**
     * 库区
     */
    @TableField(value = "materialCode")
57
    @ApiModelProperty(value = "物料编码")
游杰 authored
58
59
60
    private String materialCode;

    /**
mahuandong authored
61
62
63
     * 任务类型
     */
    @TableField(value = "taskType")
64
    @ApiModelProperty(value = "任务类型")
mahuandong authored
65
66
    private Integer taskType;
周鸿 authored
67
68
    @TableField(exist = false)
    private Integer type;
mahuandong authored
69
70
71
72
    /**
     * 入库或出库组盘头ID
     */
    @TableField(value = "allocationHeadId")
73
    @ApiModelProperty(value = "入库或出库组盘头ID")
mahuandong authored
74
75
76
77
78
79
    private Integer allocationHeadId;

    /**
     * 内部类型
     */
    @TableField(value = "internalTaskType")
80
    @ApiModelProperty(value = "内部类型")
mahuandong authored
81
82
83
84
85
86
    private Integer internalTaskType;

    /**
     * 容器号
     */
    @TableField(value = "containerCode")
87
    @ApiModelProperty(value = "容器号")
mahuandong authored
88
89
90
91
92
93
    private String containerCode;

    /**
     * 从货位,源库位
     */
    @TableField(value = "fromLocation")
94
    @ApiModelProperty(value = "从货位,源库位")
mahuandong authored
95
96
97
98
99
100
    private String fromLocation;

    /**
     * 到货位,目的库位
     */
    @TableField(value = "toLocation")
101
    @ApiModelProperty(value = "到货位,目的库位")
mahuandong authored
102
103
104
    private String toLocation;

    /**
游杰 authored
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
     * 是否空出
     */
    @TableField(value = "isEmptyOut")
    private int isEmptyOut;

    /**
     * 是否重入
     */
    @TableField(value = "isDoubleIn")
    private int isDoubleIn;

    /**
     * 原先库位
     */
    @TableField(value = "originLocation")
    private String originLocation;

    /**
mahuandong authored
123
124
125
     * 参考单内部号
     */
    @TableField(value = "referenceId")
126
    @ApiModelProperty(value = "参考单内部号")
mahuandong authored
127
128
129
130
131
132
    private Integer referenceId;

    /**
     * 参考单号
     */
    @TableField(value = "referenceCode")
133
    @ApiModelProperty(value = "参考单号")
mahuandong authored
134
135
136
137
138
139
    private String referenceCode;

    /**
     * 分配用户
     */
    @TableField(value = "assignedUser")
140
    @ApiModelProperty(value = "分配用户")
mahuandong authored
141
142
143
144
145
146
    private String assignedUser;

    /**
     * 确认用户
     */
    @TableField(value = "confirmedBy")
147
    @ApiModelProperty(value = "确认用户")
mahuandong authored
148
149
150
151
152
153
    private String confirmedBy;

    /**
     * 状态
     */
    @TableField(value = "status")
154
    @ApiModelProperty(value = "状态")
mahuandong authored
155
156
    private Integer status;
周鸿 authored
157
158
159
    @TableField(exist = false)
    private Integer firstStatus;
mahuandong authored
160
    /**
161
162
163
     * 前置任务号
     */
    @TableField(value = "preTaskNo")
164
    @ApiModelProperty(value = "前置任务号")
165
166
167
    private Integer preTaskNo;

    /**
游杰 authored
168
     * 出库口
169
     */
游杰 authored
170
    @TableField(value = "port")
171
    @ApiModelProperty(value = "出库口")
游杰 authored
172
    private String port;
173
174
175


    /**
mahuandong authored
176
177
178
     * 波次号
     */
    @TableField(value = "waveId")
179
    @ApiModelProperty(value = "波次号")
mahuandong authored
180
181
182
183
184
185
    private Integer waveId;

    /**
     * 车号
     */
    @TableField(value = "pickingCartCode")
186
    @ApiModelProperty(value = "车号")
mahuandong authored
187
188
189
190
191
192
    private String pickingCartCode;

    /**
     * 位置号
     */
    @TableField(value = "pickingCartPos")
193
    @ApiModelProperty(value = "位置号")
mahuandong authored
194
195
196
197
198
199
    private String pickingCartPos;

    /**
     * 开始拣货时间
     */
    @TableField(value = "startPickDateTime")
200
    @ApiModelProperty(value = "开始拣货时间")
mahuandong authored
201
202
203
204
205
206
    private Date startPickDateTime;

    /**
     * 截至拣货时间
     */
    @TableField(value = "endPickDateTime")
207
    @ApiModelProperty(value = "截至拣货时间")
mahuandong authored
208
209
210
211
212
213
    private Date endPickDateTime;

    /**
     * 合流货位
     */
    @TableField(value = "rebatchLoc")
214
    @ApiModelProperty(value = "合流货位")
mahuandong authored
215
216
217
218
219
220
    private String rebatchLoc;

    /**
     * 是否完成合流
     */
    @TableField(value = "finishRebatch")
221
    @ApiModelProperty(value = "是否完成合流")
mahuandong authored
222
223
224
225
226
227
    private Integer finishRebatch;

    /**
     * 合流组唯一号
     */
    @TableField(value = "rebatchGroupCode")
228
    @ApiModelProperty(value = "合流组唯一号")
mahuandong authored
229
230
231
232
233
234
    private String rebatchGroupCode;

    /**
     * 是否允许合流
     */
    @TableField(value = "allowRebatch")
235
    @ApiModelProperty(value = "是否允许合流")
mahuandong authored
236
237
238
239
240
241
    private Integer allowRebatch;

    /**
     * 任务处理类型
     */
    @TableField(value = "taskProcessType")
242
    @ApiModelProperty(value = "任务处理类型")
mahuandong authored
243
244
245
246
247
248
    private String taskProcessType;

    /**
     * 二次分拣工作台
     */
    @TableField(value = "rebinBench")
249
    @ApiModelProperty(value = "二次分拣工作台")
mahuandong authored
250
251
252
253
254
255
    private String rebinBench;

    /**
     * 二次分拣完成
     */
    @TableField(value = "rebined")
256
    @ApiModelProperty(value = "二次分拣完成")
mahuandong authored
257
258
259
260
261
262
    private Integer rebined;

    /**
     * 二次分拣开始时间
     */
    @TableField(value = "startRebinDateTime")
263
    @ApiModelProperty(value = "二次分拣开始时间")
mahuandong authored
264
265
266
267
268
269
    private Date startRebinDateTime;

    /**
     * 二次分拣结束时间
     */
    @TableField(value = "endRebinDateTime")
270
    @ApiModelProperty(value = "二次分拣结束时间")
mahuandong authored
271
272
273
274
275
276
    private Date endRebinDateTime;

    /**
     * 二次分拣人
     */
    @TableField(value = "rebinedBy")
277
    @ApiModelProperty(value = "二次分拣人")
mahuandong authored
278
279
280
281
282
283
    private String rebinedBy;

    /**
     * 异常原因
     */
    @TableField(value = "exceptionCode")
284
    @ApiModelProperty(value = "异常原因")
mahuandong authored
285
286
287
288
289
290
    private String exceptionCode;

    /**
     * 异常处理人
     */
    @TableField(value = "exceptionHandledBy")
291
    @ApiModelProperty(value = "异常处理人")
mahuandong authored
292
293
294
295
296
    private String exceptionHandledBy;

    /**
     * 创建时间
     */
297
    @TableField(value = "created", fill = FieldFill.INSERT)
298
    @ApiModelProperty(value = "创建时间")
mahuandong authored
299
300
301
302
303
    private Date created;

    /**
     * 创建用户
     */
304
    @TableField(value = "createdBy", fill = FieldFill.INSERT)
305
    @ApiModelProperty(value = "创建用户")
mahuandong authored
306
307
    private String createdBy;
308
309
310
311
312
313
314
315
//    public void setCreatedBy(String createdBy) {
//        if (StringUtils.isEmpty(createdBy)) {
//            this.createdBy = ShiroUtils.getUserName();
//        } else {
//            this.createdBy = createdBy;
//        }
//
//    }
316
mahuandong authored
317
318
319
    /**
     * 创建时间
     */
320
321
    @TableField(value = "lastUpdated", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "创建时间")
mahuandong authored
322
323
324
325
326
    private Date lastUpdated;

    /**
     * 更新用户
     */
327
328
    @TableField(value = "lastUpdatedBy", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新用户")
mahuandong authored
329
330
331
332
333
334
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
335
    @ApiModelProperty(value = "数据版本")
mahuandong authored
336
337
338
339
340
341
    private Integer version;

    /**
     * AGV区域任务标志 =AGV
     */
    @TableField(value = "userDef1")
342
    @ApiModelProperty(value = "AGV区域任务标志 =‘AGV’")
mahuandong authored
343
344
345
346
347
348
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
349
    @ApiModelProperty(value = "自定义字段2")
mahuandong authored
350
351
352
353
354
355
    private String userDef2;

    /**
     * 同步标志  0:需要同步 10:同步成功   20:同步失败
     */
    @TableField(value = "userDef3")
356
    @ApiModelProperty(value = "同步标志  0:需要同步 10:同步成功   20:同步失败")
mahuandong authored
357
358
359
360
361
362
    private String userDef3;

    /**
     * 处理标记
     */
    @TableField(value = "processStamp")
363
    @ApiModelProperty(value = "处理标记")
mahuandong authored
364
365
366
367
368
369
    private String processStamp;

    /**
     * 站台
     */
    @TableField(value = "recvDock")
370
    @ApiModelProperty(value = "站台")
mahuandong authored
371
372
373
374
375
376
    private String recvDock;

    /**
     * 需要容器数量
     */
    @TableField(value = "containQty")
377
    @ApiModelProperty(value = "需要容器数量")
mahuandong authored
378
379
    private Integer containQty;
380
381

    @TableField(value = "priority")
382
    @ApiModelProperty(value = "优先级")
383
384
385
    private Integer priority;
mahuandong authored
386
387
388
389
    @ApiModelProperty(value = "重量")
    @TableField(value = "weight")
    private String weight;
    private static final long serialVersionUID = 1L;
390
391
392
    @TableField(exist = false)
    private Integer contrastTaskId;
393
周鸿 authored
394
395
396
397
398
399
400
401
402
    /**
     * 完成状态
     * 0初始状态,1已更改状态未完成,2已完成;
     * 状态1,则定时任务更新其他表状态
     * 状态2,则下发wcs
     */
    @ApiModelProperty(value = "完成状态")
    @TableField(value = "completeStatus")
    private Integer completeStatus;
tongzhonghao authored
403
404
405
406
407
408
409
410
411
412
413
414
    /**
     * 回传信息
     */
    @ApiModelProperty(value = "回传信息")
    @TableField(value = "backInfo")
    private String backInfo;
    /**
     * 是否回传 0未回传 1失败 2成功
     */
    @ApiModelProperty(value = "是否回传")
    @TableField(value = "isReturn")
    private Integer isReturn;
415
416
417
418
419
420
    /**
     * 回传次数 最多3
     */
    @ApiModelProperty(value = "回传次数")
    @TableField(value = "backQty")
    private Integer backQty;
周鸿 authored
421
422
423
424
425
426
427
    /**
     * 巷道
     */
    @ApiModelProperty(value = "巷道")
    @TableField(value = "roadway")
    private String roadway;
易文鹏 authored
428
429
430
431
    /**
     * 货主id
     */
易文鹏 authored
432
433
434
    @TableField(value = "companyId")
    private Integer companyId;
435
436
437
    /**
     * 仓库id
     */
易文鹏 authored
438
439
    @TableField(value = "warehouseId")
    private Integer warehouseId;
周鸿 authored
440
441
442
443
    /**
     * 货架
     */
周鸿 authored
444
445
446
    @TableField(value = "goodsShelfNo")
    private String goodsShelfNo;
447
448
449
    @TableField(value = "clickNum")
    private Integer clickNum;
450
    public Integer getFirstStatus() {
周鸿 authored
451
452
        return status;
    }
453
454

    public Integer getType() {
周鸿 authored
455
456
        return taskType;
    }
457
}