提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.pm.salesOrder.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 ruimin |
|
17 |
* @since 2023-08-26 |
|
18 |
*/ |
|
19 |
@TableName("pm_sales_order") |
|
20 |
public class SalesOrder 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("sales_order_code") |
|
34 |
private String salesOrderCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* 客户编号 |
|
38 |
*/ |
|
39 |
@TableField("customer_no") |
|
40 |
private String customerNo; |
|
41 |
|
|
42 |
/** |
|
43 |
* 货号 |
|
44 |
*/ |
|
45 |
@TableField("cargo_no") |
|
46 |
private String cargoNo; |
|
47 |
|
|
48 |
/** |
|
49 |
* 产品编号 |
|
50 |
*/ |
|
51 |
@TableField("product_code") |
|
52 |
private String productCode; |
|
53 |
|
|
54 |
/** |
|
55 |
* 产品名称 |
|
56 |
*/ |
|
57 |
@TableField("product_name") |
|
58 |
private String productName; |
|
59 |
|
|
60 |
/** |
|
61 |
* 计划数量 |
|
62 |
*/ |
|
63 |
@TableField("plan_number") |
|
64 |
private Integer planNumber; |
|
65 |
|
|
66 |
/** |
|
67 |
* 计划开始时间 |
|
68 |
*/ |
|
69 |
@TableField("plan_start_time") |
|
70 |
private Date planStartTime; |
|
71 |
|
|
72 |
/** |
|
73 |
* 计划结束时间 |
|
74 |
*/ |
|
75 |
@TableField("plan_end_time") |
|
76 |
private Date planEndTime; |
|
77 |
|
|
78 |
/** |
|
79 |
* 车间编码 |
|
80 |
*/ |
|
81 |
@TableField("workshop_code") |
|
82 |
private String workshopCode; |
|
83 |
|
|
84 |
/** |
|
85 |
* 产线编码 |
|
86 |
*/ |
|
87 |
@TableField("line_code") |
|
88 |
private String lineCode; |
|
89 |
|
|
90 |
/** |
|
91 |
* 交货时间 |
|
92 |
*/ |
|
93 |
@TableField("delivery_time") |
|
94 |
private Date deliveryTime; |
|
95 |
|
|
96 |
/** |
|
97 |
* 状态(1未开始、2已拆分3已下发4已完成) |
|
98 |
*/ |
|
99 |
@TableField("state") |
|
100 |
private String state; |
|
101 |
|
|
102 |
/** |
|
103 |
* 订单来源 |
|
104 |
*/ |
|
105 |
@TableField("order_source") |
|
106 |
private String orderSource; |
|
107 |
|
|
108 |
/** |
|
109 |
* 预留字段1 |
|
110 |
*/ |
|
111 |
@TableField("spare_field_1") |
|
112 |
private String spareField1; |
|
113 |
|
|
114 |
/** |
|
115 |
* 预留字段2 |
|
116 |
*/ |
|
117 |
@TableField("spare_field_2") |
|
118 |
private String spareField2; |
|
119 |
|
|
120 |
/** |
|
121 |
* 预留字段3 |
|
122 |
*/ |
|
123 |
@TableField("spare_field_3") |
|
124 |
private String spareField3; |
|
125 |
|
|
126 |
/** |
|
127 |
* 创建用户 |
|
128 |
*/ |
|
129 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
130 |
private String createUser; |
|
131 |
|
|
132 |
/** |
|
133 |
* 创建时间 |
|
134 |
*/ |
|
135 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
136 |
private Date createTime; |
|
137 |
|
|
138 |
/** |
|
139 |
* 更改用户 |
|
140 |
*/ |
|
141 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
142 |
private String updateUser; |
|
143 |
|
|
144 |
/** |
|
145 |
* 更改时间 |
|
146 |
*/ |
|
147 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
148 |
private Date updateTime; |
|
149 |
|
|
150 |
/** |
|
151 |
* 备注 |
|
152 |
*/ |
|
153 |
@TableField("remark") |
|
154 |
private String remark; |
|
155 |
|
|
156 |
|
|
157 |
public Long getId() { |
|
158 |
return id; |
|
159 |
} |
|
160 |
|
|
161 |
public void setId(Long id) { |
|
162 |
this.id = id; |
|
163 |
} |
|
164 |
|
|
165 |
public String getSalesOrderCode() { |
|
166 |
return salesOrderCode; |
|
167 |
} |
|
168 |
|
|
169 |
public void setSalesOrderCode(String salesOrderCode) { |
|
170 |
this.salesOrderCode = salesOrderCode; |
|
171 |
} |
|
172 |
|
|
173 |
public String getCustomerNo() { |
|
174 |
return customerNo; |
|
175 |
} |
|
176 |
|
|
177 |
public void setCustomerNo(String customerNo) { |
|
178 |
this.customerNo = customerNo; |
|
179 |
} |
|
180 |
|
|
181 |
public String getCargoNo() { |
|
182 |
return cargoNo; |
|
183 |
} |
|
184 |
|
|
185 |
public void setCargoNo(String cargoNo) { |
|
186 |
this.cargoNo = cargoNo; |
|
187 |
} |
|
188 |
|
|
189 |
public String getProductCode() { |
|
190 |
return productCode; |
|
191 |
} |
|
192 |
|
|
193 |
public void setProductCode(String productCode) { |
|
194 |
this.productCode = productCode; |
|
195 |
} |
|
196 |
|
|
197 |
public String getProductName() { |
|
198 |
return productName; |
|
199 |
} |
|
200 |
|
|
201 |
public void setProductName(String productName) { |
|
202 |
this.productName = productName; |
|
203 |
} |
|
204 |
|
|
205 |
public Integer getPlanNumber() { |
|
206 |
return planNumber; |
|
207 |
} |
|
208 |
|
|
209 |
public void setPlanNumber(Integer planNumber) { |
|
210 |
this.planNumber = planNumber; |
|
211 |
} |
|
212 |
|
|
213 |
public Date getPlanStartTime() { |
|
214 |
return planStartTime; |
|
215 |
} |
|
216 |
|
|
217 |
public void setPlanStartTime(Date planStartTime) { |
|
218 |
this.planStartTime = planStartTime; |
|
219 |
} |
|
220 |
|
|
221 |
public Date getPlanEndTime() { |
|
222 |
return planEndTime; |
|
223 |
} |
|
224 |
|
|
225 |
public void setPlanEndTime(Date planEndTime) { |
|
226 |
this.planEndTime = planEndTime; |
|
227 |
} |
|
228 |
|
|
229 |
public String getWorkshopCode() { |
|
230 |
return workshopCode; |
|
231 |
} |
|
232 |
|
|
233 |
public void setWorkshopCode(String workshopCode) { |
|
234 |
this.workshopCode = workshopCode; |
|
235 |
} |
|
236 |
|
|
237 |
public String getLineCode() { |
|
238 |
return lineCode; |
|
239 |
} |
|
240 |
|
|
241 |
public void setLineCode(String lineCode) { |
|
242 |
this.lineCode = lineCode; |
|
243 |
} |
|
244 |
|
|
245 |
public Date getDeliveryTime() { |
|
246 |
return deliveryTime; |
|
247 |
} |
|
248 |
|
|
249 |
public void setDeliveryTime(Date deliveryTime) { |
|
250 |
this.deliveryTime = deliveryTime; |
|
251 |
} |
|
252 |
|
|
253 |
public String getState() { |
|
254 |
return state; |
|
255 |
} |
|
256 |
|
|
257 |
public void setState(String state) { |
|
258 |
this.state = state; |
|
259 |
} |
|
260 |
|
|
261 |
public String getOrderSource() { |
|
262 |
return orderSource; |
|
263 |
} |
|
264 |
|
|
265 |
public void setOrderSource(String orderSource) { |
|
266 |
this.orderSource = orderSource; |
|
267 |
} |
|
268 |
|
|
269 |
public String getSpareField1() { |
|
270 |
return spareField1; |
|
271 |
} |
|
272 |
|
|
273 |
public void setSpareField1(String spareField1) { |
|
274 |
this.spareField1 = spareField1; |
|
275 |
} |
|
276 |
|
|
277 |
public String getSpareField2() { |
|
278 |
return spareField2; |
|
279 |
} |
|
280 |
|
|
281 |
public void setSpareField2(String spareField2) { |
|
282 |
this.spareField2 = spareField2; |
|
283 |
} |
|
284 |
|
|
285 |
public String getSpareField3() { |
|
286 |
return spareField3; |
|
287 |
} |
|
288 |
|
|
289 |
public void setSpareField3(String spareField3) { |
|
290 |
this.spareField3 = spareField3; |
|
291 |
} |
|
292 |
|
|
293 |
public String getCreateUser() { |
|
294 |
return createUser; |
|
295 |
} |
|
296 |
|
|
297 |
public void setCreateUser(String createUser) { |
|
298 |
this.createUser = createUser; |
|
299 |
} |
|
300 |
|
|
301 |
public Date getCreateTime() { |
|
302 |
return createTime; |
|
303 |
} |
|
304 |
|
|
305 |
public void setCreateTime(Date createTime) { |
|
306 |
this.createTime = createTime; |
|
307 |
} |
|
308 |
|
|
309 |
public String getUpdateUser() { |
|
310 |
return updateUser; |
|
311 |
} |
|
312 |
|
|
313 |
public void setUpdateUser(String updateUser) { |
|
314 |
this.updateUser = updateUser; |
|
315 |
} |
|
316 |
|
|
317 |
public Date getUpdateTime() { |
|
318 |
return updateTime; |
|
319 |
} |
|
320 |
|
|
321 |
public void setUpdateTime(Date updateTime) { |
|
322 |
this.updateTime = updateTime; |
|
323 |
} |
|
324 |
|
|
325 |
public String getRemark() { |
|
326 |
return remark; |
|
327 |
} |
|
328 |
|
|
329 |
public void setRemark(String remark) { |
|
330 |
this.remark = remark; |
|
331 |
} |
|
332 |
|
|
333 |
@Override |
|
334 |
public String toString() { |
|
335 |
return "SalesOrder{" + |
|
336 |
"id=" + id + |
|
337 |
", salesOrderCode=" + salesOrderCode + |
|
338 |
", customerNo=" + customerNo + |
|
339 |
", cargoNo=" + cargoNo + |
|
340 |
", productCode=" + productCode + |
|
341 |
", productName=" + productName + |
|
342 |
", planNumber=" + planNumber + |
|
343 |
", planStartTime=" + planStartTime + |
|
344 |
", planEndTime=" + planEndTime + |
|
345 |
", workshopCode=" + workshopCode + |
|
346 |
", lineCode=" + lineCode + |
|
347 |
", deliveryTime=" + deliveryTime + |
|
348 |
", state=" + state + |
|
349 |
", orderSource=" + orderSource + |
|
350 |
", spareField1=" + spareField1 + |
|
351 |
", spareField2=" + spareField2 + |
|
352 |
", spareField3=" + spareField3 + |
|
353 |
", createUser=" + createUser + |
|
354 |
", createTime=" + createTime + |
|
355 |
", updateUser=" + updateUser + |
|
356 |
", updateTime=" + updateTime + |
|
357 |
", remark=" + remark + |
|
358 |
"}"; |
|
359 |
} |
|
360 |
} |