郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
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
package com.gk.firework.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 com.fasterxml.jackson.annotation.JsonFormat;
 
import java.io.Serializable;
import java.util.Date;
 
@TableName("productlocus")
public class ProductLocusInfo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    /** 入库 **/
    public static final Byte ENTRY_STATUS = 1;
    /** 退货入库 **/
    public static final Byte RETURN_ENTRY_STATUS = 2;
    /** 出库 **/
    public static final Byte DELIVERY_STATUS = 3;
    /** 销售 **/
    public static final Byte SALES_STATUS = 4;
    /** 退库 **/
    public static final Byte RETURN_DELIVERY_STATUS = 5;
    /** 生成电子标签 **/
    public static final Byte ELECTRONIC_LABEL_STATUS = 6;
    /** 补打 **/
    public static final Byte REPLENISH_PRINT_STATUS = 7;
    /** 电子标签回退 **/
    public static final Byte ELECTRONIC_LABEL_RETURN_STATUS = 8;
 
    /**   id **/
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 流向码(19或者22位)  directioncode **/
    private String directioncode;
 
    /** 创建时间  createddate **/
    private Date createddate;
 
    /** 修改时间  modifieddate **/
    private Date modifieddate;
 
    /** 流向轨迹内容  content **/
    private String content;
 
    /** 购买人信息表id  customerid **/
    private Long customerid;
 
    /** 流向信息类型(1.入库;2.出库;)  type **/
    private Byte type;
 
    /** 22位流向码(包装箱码)  boxcode **/
    private String boxcode;
 
    /**     id   **/
    public Long getId() {
        return id;
    }
 
    /**     id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    /**   流向码(19或者22位)  directioncode   **/
    public String getDirectioncode() {
        return directioncode;
    }
 
    /**   流向码(19或者22位)  directioncode   **/
    public void setDirectioncode(String directioncode) {
        this.directioncode = directioncode == null ? null : directioncode.trim();
    }
 
    /**   创建时间  createddate   **/
    public Date getCreateddate() {
        return createddate;
    }
 
    /**   创建时间  createddate   **/
    public void setCreateddate(Date createddate) {
        this.createddate = createddate;
    }
 
    /**   修改时间  modifieddate   **/
    public Date getModifieddate() {
        return modifieddate;
    }
 
    /**
     * 修改时间  modifieddate (原)
     * 前台传递的创建时间 (现)
     */
    public void setModifieddate(Date modifieddate) {
        this.modifieddate = modifieddate;
    }
 
    /**   流向轨迹内容  content   **/
    public String getContent() {
        return content;
    }
 
    /**
     * 流向轨迹内容  content   (原)
     * enterprise name  企业名称(现)
     * */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
 
    /**   购买人信息表id  customerid   **/
    public Long getCustomerid() {
        return customerid;
    }
 
    /**   购买人信息表id  customerid   **/
    public void setCustomerid(Long customerid) {
        this.customerid = customerid;
    }
 
    /**   流向信息类型(1.入库;2.出库;)  type   **/
    public Byte getType() {
        return type;
    }
 
    /**   流向信息类型(1.入库;2.退货入库;3.出库;4.销售;5.退库)  type   **/
    public void setType(Byte type) {
        this.type = type;
    }
 
    /**   22位流向码(包装箱码)  boxcode   **/
    public String getBoxcode() {
        return boxcode;
    }
 
    /**   22位流向码(包装箱码)  boxcode   **/
    public void setBoxcode(String boxcode) {
        this.boxcode = boxcode == null ? null : boxcode.trim();
    }
 
    public ProductLocusInfo() {
    }
 
    public ProductLocusInfo(String directioncode, Date createddate, Date modifieddate,
                            String content, Long customerid, Byte type, String boxcode) {
        this.directioncode = directioncode;
        this.createddate = createddate;
        this.modifieddate = modifieddate;
        this.content = content;
        this.customerid = customerid;
        this.type = type;
        this.boxcode = boxcode;
    }
}