AgvTask.java
3.81 KB
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
package com.huaheng.pc.agv.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 【请填写功能名称】表 agv_task
*
* @author huaheng
* @date 2022-08-18
*/
@TableName(value = "agv_task")
@Data
public class AgvTask implements Serializable {
private static final long serialVersionUID = 1L;
/**
* $column.columnComment
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 内部任务类型
*/
@TableField(value = "InternalTaskType")
private Long InternalTaskType;
/**
* 100 搬运任务,200行走任务,300 取货任务,400放货任务;
*/
@TableField(value = "taskType")
private String taskType;
/**
* $column.columnComment
*/
@TableField(value = "companyCode")
private String companyCode;
/**
* $column.columnComment
*/
@TableField(value = "warehouseCode")
private String warehouseCode;
/**
* 开始点位
*/
@TableField(value = "fromPort")
private String fromPort;
/**
* 结束点位
*/
@TableField(value = "toPort")
private String toPort;
/**
* 容器号
*/
@TableField(value = "containerCode")
private String containerCode;
/**
* agv任务状态 1生成 10下发 20执行 100 完成
*/
@TableField(value = "status")
private Long status;
/**
* 小车编号
*/
@TableField(value = "carNo")
private Long carNo;
/**
* 任务优先级
*/
@TableField(value = "priority")
private Long priority;
/**
* $column.columnComment
*/
@TableField(value = "taskHeaderId")
private Long taskHeaderId;
/**
* $column.columnComment
*/
@TableField(value = "taskDetailId")
private Long taskDetailId;
/**
* 前置任务号
*/
@TableField(value = "preTaskNo")
private Long preTaskNo;
/**
* 货架编码
*/
@TableField(value = "shelfNo")
private Long shelfNo;
/**
* 站台编码
*/
@TableField(value = "station")
private String station;
/**
* 方向
*/
@TableField(value = "orientation")
private String orientation;
/**
* 交互标识
*/
@TableField(value = "interactionId")
private Long interactionId;
/**
* 平台
*/
@TableField(value = "platform")
private String platform;
/**
* 仓库ID
*/
@TableField(value = "warehouseId")
private Long warehouseId;
/**
* 公司ID
*/
@TableField(value = "companyId")
private Long companyId;
/**
* 创建时间
*/
@TableField(value = "createdTime")
private Date createdTime;
/**
* 创建者
*/
@TableField(value = "createdBy")
private String createdBy;
/**
* 更新时间
*/
@TableField(value = "updated")
private Date updated;
/**
* 更新者
*/
@TableField(value = "updatedBy")
private String updatedBy;
/**
* ALTER TABLE `wanbao`.`agv_task`
* ADD COLUMN `fromWorkStationId` varchar(50) NULL COMMENT '起始工位' AFTER `toPort`,
* ADD COLUMN `toWorkStationId` varchar(50) NULL COMMENT '目的工位' AFTER `fromWorkStationId`;
*/
@TableField(value = "fromWorkStationId")
private String fromWorkStationId;
@TableField(value = "toWorkStationId")
private String toWorkStationId;
}