自动化立体仓库 - WMS系统
lty
2 天以前 264a479aa1ad16818110e9f9d833bbf02e298f47
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
package com.zy.asrs.entity;
 
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
@Data
@TableName("asr_erp_order")
public class ErpOrder implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 自增id
     */
    @ApiModelProperty(value= "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 订单编码
     */
    @ApiModelProperty(value= "订单编码")
    @TableField("order_no")
    private String orderNo;
 
    /**
     * 订单类型,1 出库单;2 入库单;3 调拨单;
     */
    @ApiModelProperty(value= "订单类型,1 出库单;2 入库单;3 调拨单;")
    @TableField("order_type")
    private Integer orderType;
 
    /**
     * 业务类型
     */
    @ApiModelProperty(value= "业务类型")
    @TableField("wk_type")
    private String wkType;
 
    /**
     * 业务时间
     */
    @ApiModelProperty(value= "业务时间")
    @TableField("business_time")
    private Long businessTime;
 
    /**
     * 创建时间
     */
    @ApiModelProperty(value= "创建时间")
    @TableField("create_time")
    private Long createTime;
 
    /**
     * 仓库id
     */
    @ApiModelProperty(value= "仓库id")
    @TableField("warehouse_id")
    private String warehouseId;
 
    /**
     * 操作类型,1 新增(默认);2 修改;3 取消;4 关闭;
     */
    @ApiModelProperty(value= "操作类型,1 新增(默认);2 修改;3 取消;4 关闭;")
    @TableField("operate_type")
    private Integer operateType;
 
    /**
     * 发送状态1:已发送 0:待发送
     */
    @ApiModelProperty(value= "发送状态1:已发送 0:待发送")
    @TableField("send_status")
    private Integer sendStatus;
 
    public ErpOrder() {}
 
    public ErpOrder(Integer id,String orderNo,Integer orderType,String wkType,Long businessTime,Long createTime,String warehouseId,Integer operateType,Integer sendStatus) {
        this.id = id;
        this.orderNo = orderNo;
        this.orderType = orderType;
        this.wkType = wkType;
        this.businessTime = businessTime;
        this.createTime = createTime;
        this.warehouseId = warehouseId;
        this.operateType = operateType;
        this.sendStatus = sendStatus;
    }
 
//    ErpOrder erpOrder = new ErpOrder(
//            null,    // 自增id[非空]
//            null,    // 订单编码[非空]
//            null,    // 订单类型,1 出库单;2 入库单;3 调拨单;[非空]
//            null,    // 业务类型[非空]
//            null,    // 业务时间[非空]
//            null,    // 创建时间[非空]
//            null,    // 仓库id[非空]
//            null,    // 操作类型,1 新增(默认);2 修改;3 取消;4 关闭;
//            null    // 发送状态1:已发送 0:待发送
//    );
 
 
}