cl
2024-01-16 cf6bff3922bbd0624b98834f6ea85c8e619e564f
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.bs.batchCodeStorage.entity;
2
3 import com.baomidou.mybatisplus.annotation.TableName;
4 import com.baomidou.mybatisplus.annotation.IdType;
5 import java.util.Date;
6 import com.baomidou.mybatisplus.annotation.TableId;
7 import com.baomidou.mybatisplus.annotation.FieldFill;
8 import com.baomidou.mybatisplus.annotation.TableField;
9 import java.io.Serializable;
10
11 /**
12  * <p>
13  * 批次存储临时表
14  * </p>
15  *
16  * @author zrm
17  * @since 2023-02-15
18  */
19 @TableName("bs_batch_code_storage")
20 public class BatchCodeStorage implements Serializable {
21
22     private static final long serialVersionUID=1L;
23
24     /**
25      * 主键id
26      */
27       @TableId(value = "id", type = IdType.AUTO)
28     private Long id;
29
30     /**
31      * 物料编号
32      */
33     @TableField("material_code")
34     private String materialCode;
35
36     /**
37      * 物料名称
38      */
39     @TableField("material_name")
40     private String materialName;
41
42     /**
43      * 批次码
44      */
45     @TableField("batch_code")
46     private String batchCode;
47
48     /**
49      * 生产工单号
50      */
51     @TableField("work_order_no")
52     private String workOrderNo;
53
54     /**
55      * 生产线
56      */
57     @TableField("production_line")
58     private String productionLine;
59
60     /**
61      * 工位编号
62      */
63     @TableField("location_code")
64     private String locationCode;
65
66     /**
67      * 是否扫码
68      */
69     @TableField("is_scan")
70     private String isScan;
71
72     /**
73      * 数量
74      */
75     @TableField("quantity")
76     private Long quantity;
77
78     /**
79      * 预留字段1
80      */
81     @TableField("spare_field_1")
82     private String spareField1;
83
84     /**
85      * 预留字段2
86      */
87     @TableField("spare_field_2")
88     private String spareField2;
89
90     /**
91      * 备注
92      */
93     @TableField("remarks")
94     private String remarks;
95
96     /**
97      * 创建用户
98      */
99       @TableField(value = "create_user", fill = FieldFill.INSERT)
100     private String createUser;
101
102     /**
103      * 创建时间
104      */
105       @TableField(value = "create_time", fill = FieldFill.INSERT)
106     private Date createTime;
107
108     @TableField("erp_spec")
109     private String erpSpec;
110
111
112     public Long getId() {
113         return id;
114     }
115
116     public void setId(Long id) {
117         this.id = id;
118     }
119
120     public String getMaterialCode() {
121         return materialCode;
122     }
123
124     public void setMaterialCode(String materialCode) {
125         this.materialCode = materialCode;
126     }
127
128     public String getMaterialName() {
129         return materialName;
130     }
131
132     public void setMaterialName(String materialName) {
133         this.materialName = materialName;
134     }
135
136     public String getBatchCode() {
137         return batchCode;
138     }
139
140     public void setBatchCode(String batchCode) {
141         this.batchCode = batchCode;
142     }
143
144     public String getWorkOrderNo() {
145         return workOrderNo;
146     }
147
148     public void setWorkOrderNo(String workOrderNo) {
149         this.workOrderNo = workOrderNo;
150     }
151
152     public String getProductionLine() {
153         return productionLine;
154     }
155
156     public void setProductionLine(String productionLine) {
157         this.productionLine = productionLine;
158     }
159
160     public String getLocationCode() {
161         return locationCode;
162     }
163
164     public void setLocationCode(String locationCode) {
165         this.locationCode = locationCode;
166     }
167
168     public String getIsScan() {
169         return isScan;
170     }
171
172     public void setIsScan(String isScan) {
173         this.isScan = isScan;
174     }
175
176     public Long getQuantity() {
177         return quantity;
178     }
179
180     public void setQuantity(Long quantity) {
181         this.quantity = quantity;
182     }
183
184     public String getSpareField1() {
185         return spareField1;
186     }
187
188     public void setSpareField1(String spareField1) {
189         this.spareField1 = spareField1;
190     }
191
192     public String getSpareField2() {
193         return spareField2;
194     }
195
196     public void setSpareField2(String spareField2) {
197         this.spareField2 = spareField2;
198     }
199
200     public String getRemarks() {
201         return remarks;
202     }
203
204     public void setRemarks(String remarks) {
205         this.remarks = remarks;
206     }
207
208     public String getCreateUser() {
209         return createUser;
210     }
211
212     public void setCreateUser(String createUser) {
213         this.createUser = createUser;
214     }
215
216     public Date getCreateTime() {
217         return createTime;
218     }
219
220     public void setCreateTime(Date createTime) {
221         this.createTime = createTime;
222     }
223
224     public String getErpSpec() {
225         return erpSpec;
226     }
227
228     public void setErpSpec(String erpSpec) {
229         this.erpSpec = erpSpec;
230     }
231
232     @Override
233     public String toString() {
234         return "BatchCodeStorage{" +
235         "id=" + id +
236         ", materialCode=" + materialCode +
237         ", materialName=" + materialName +
238         ", batchCode=" + batchCode +
239         ", workOrderNo=" + workOrderNo +
240         ", productionLine=" + productionLine +
241         ", locationCode=" + locationCode +
242         ", isScan=" + isScan +
243         ", quantity=" + quantity +
244         ", spareField1=" + spareField1 +
245         ", spareField2=" + spareField2 +
246         ", remarks=" + remarks +
247         ", createUser=" + createUser +
248         ", createTime=" + createTime +
249         ", erpSpec=" + erpSpec +
250         "}";
251     }
252 }