提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.pm.workOrder.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_work_order") |
|
20 |
public class WorkOrder 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("work_order_code") |
|
34 |
private String workOrderCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* 订单编号 |
|
38 |
*/ |
|
39 |
@TableField("sales_order_code") |
|
40 |
private String salesOrderCode; |
|
41 |
|
|
42 |
/** |
|
43 |
* 产品编号 |
|
44 |
*/ |
|
45 |
@TableField("product_code") |
|
46 |
private String productCode; |
|
47 |
|
|
48 |
/** |
|
49 |
* 产品名称 |
|
50 |
*/ |
|
51 |
@TableField("product_name") |
|
52 |
private String productName; |
|
53 |
|
|
54 |
/** |
|
55 |
* 计划数量 |
|
56 |
*/ |
|
57 |
@TableField("plan_qty") |
|
58 |
private Integer planQty; |
|
59 |
|
|
60 |
/** |
|
61 |
* 完成数量 |
|
62 |
*/ |
|
63 |
@TableField("produce_qty") |
|
64 |
private Integer produceQty; |
|
65 |
|
|
66 |
/** |
|
67 |
* 上线数量 |
|
68 |
*/ |
|
69 |
@TableField("online_qty") |
|
70 |
private Integer onlineQty; |
|
71 |
|
|
72 |
/** |
|
73 |
* 计划开始时间 |
|
74 |
*/ |
|
75 |
@TableField("plan_start_time") |
|
76 |
private Date planStartTime; |
|
77 |
|
|
78 |
/** |
|
79 |
* 计划结束时间 |
|
80 |
*/ |
|
81 |
@TableField("plan_end_time") |
|
82 |
private Date planEndTime; |
|
83 |
|
|
84 |
/** |
|
85 |
* 生产开始时间 |
|
86 |
*/ |
|
87 |
@TableField("produce_start_time") |
|
88 |
private Date produceStartTime; |
|
89 |
|
|
90 |
/** |
|
91 |
* 生产结束时间 |
|
92 |
*/ |
|
93 |
@TableField("produce_end_time") |
|
94 |
private Date produceEndTime; |
|
95 |
|
|
96 |
/** |
|
97 |
* 车间编码 |
|
98 |
*/ |
|
99 |
@TableField("workshop_code") |
|
100 |
private String workshopCode; |
|
101 |
|
|
102 |
/** |
|
103 |
* 产线编码 |
|
104 |
*/ |
|
105 |
@TableField("line_code") |
|
106 |
private String lineCode; |
|
107 |
|
|
108 |
/** |
|
109 |
* 状态 |
|
110 |
*/ |
|
111 |
@TableField("state") |
|
112 |
private String state; |
|
113 |
|
|
114 |
/** |
|
115 |
* 不良数量 |
|
116 |
*/ |
|
117 |
@TableField("bad_qty") |
|
118 |
private Integer badQty; |
|
119 |
|
|
120 |
/** |
|
121 |
* 返修数量 |
|
122 |
*/ |
|
123 |
@TableField("repair_qty") |
|
124 |
private Integer repairQty; |
|
125 |
|
|
126 |
/** |
|
127 |
* 报废数量 |
|
128 |
*/ |
|
129 |
@TableField("scrap_qty") |
|
130 |
private Integer scrapQty; |
|
131 |
|
|
132 |
/** |
|
133 |
* 工艺流程 |
|
134 |
*/ |
|
135 |
@TableField("route_code") |
|
136 |
private String routeCode; |
|
137 |
|
|
138 |
/** |
|
139 |
* 产品BOM |
|
140 |
*/ |
|
141 |
@TableField("bom_code") |
|
142 |
private String bomCode; |
|
143 |
|
|
144 |
/** |
|
145 |
* 工艺配方 |
|
146 |
*/ |
|
147 |
@TableField("recipe_code") |
|
148 |
private String recipeCode; |
|
149 |
|
|
150 |
/** |
|
151 |
* 预留字段1 |
|
152 |
*/ |
|
153 |
@TableField("spare_field_1") |
|
154 |
private String spareField1; |
|
155 |
|
|
156 |
/** |
|
157 |
* 预留字段2 |
|
158 |
*/ |
|
159 |
@TableField("spare_field_2") |
|
160 |
private String spareField2; |
|
161 |
|
|
162 |
/** |
|
163 |
* 预留字段3 |
|
164 |
*/ |
|
165 |
@TableField("spare_field_3") |
|
166 |
private String spareField3; |
|
167 |
|
|
168 |
/** |
|
169 |
* 创建用户 |
|
170 |
*/ |
|
171 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
172 |
private String createUser; |
|
173 |
|
|
174 |
/** |
|
175 |
* 创建时间 |
|
176 |
*/ |
|
177 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
178 |
private Date createTime; |
|
179 |
|
|
180 |
/** |
|
181 |
* 更改用户 |
|
182 |
*/ |
|
183 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
184 |
private String updateUser; |
|
185 |
|
|
186 |
/** |
|
187 |
* 更改时间 |
|
188 |
*/ |
|
189 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
190 |
private Date updateTime; |
|
191 |
|
|
192 |
/** |
|
193 |
* 备注 |
|
194 |
*/ |
|
195 |
@TableField("remark") |
|
196 |
private String remark; |
|
197 |
|
|
198 |
|
|
199 |
public Long getId() { |
|
200 |
return id; |
|
201 |
} |
|
202 |
|
|
203 |
public void setId(Long id) { |
|
204 |
this.id = id; |
|
205 |
} |
|
206 |
|
|
207 |
public String getWorkOrderCode() { |
|
208 |
return workOrderCode; |
|
209 |
} |
|
210 |
|
|
211 |
public void setWorkOrderCode(String workOrderCode) { |
|
212 |
this.workOrderCode = workOrderCode; |
|
213 |
} |
|
214 |
|
|
215 |
public String getSalesOrderCode() { |
|
216 |
return salesOrderCode; |
|
217 |
} |
|
218 |
|
|
219 |
public void setSalesOrderCode(String salesOrderCode) { |
|
220 |
this.salesOrderCode = salesOrderCode; |
|
221 |
} |
|
222 |
|
|
223 |
public String getProductCode() { |
|
224 |
return productCode; |
|
225 |
} |
|
226 |
|
|
227 |
public void setProductCode(String productCode) { |
|
228 |
this.productCode = productCode; |
|
229 |
} |
|
230 |
|
|
231 |
public String getProductName() { |
|
232 |
return productName; |
|
233 |
} |
|
234 |
|
|
235 |
public void setProductName(String productName) { |
|
236 |
this.productName = productName; |
|
237 |
} |
|
238 |
|
|
239 |
public Integer getPlanQty() { |
|
240 |
return planQty; |
|
241 |
} |
|
242 |
|
|
243 |
public void setPlanQty(Integer planQty) { |
|
244 |
this.planQty = planQty; |
|
245 |
} |
|
246 |
|
|
247 |
public Integer getProduceQty() { |
|
248 |
return produceQty; |
|
249 |
} |
|
250 |
|
|
251 |
public void setProduceQty(Integer produceQty) { |
|
252 |
this.produceQty = produceQty; |
|
253 |
} |
|
254 |
|
|
255 |
public Integer getOnlineQty() { |
|
256 |
return onlineQty; |
|
257 |
} |
|
258 |
|
|
259 |
public void setOnlineQty(Integer onlineQty) { |
|
260 |
this.onlineQty = onlineQty; |
|
261 |
} |
|
262 |
|
|
263 |
public Date getPlanStartTime() { |
|
264 |
return planStartTime; |
|
265 |
} |
|
266 |
|
|
267 |
public void setPlanStartTime(Date planStartTime) { |
|
268 |
this.planStartTime = planStartTime; |
|
269 |
} |
|
270 |
|
|
271 |
public Date getPlanEndTime() { |
|
272 |
return planEndTime; |
|
273 |
} |
|
274 |
|
|
275 |
public void setPlanEndTime(Date planEndTime) { |
|
276 |
this.planEndTime = planEndTime; |
|
277 |
} |
|
278 |
|
|
279 |
public Date getProduceStartTime() { |
|
280 |
return produceStartTime; |
|
281 |
} |
|
282 |
|
|
283 |
public void setProduceStartTime(Date produceStartTime) { |
|
284 |
this.produceStartTime = produceStartTime; |
|
285 |
} |
|
286 |
|
|
287 |
public Date getProduceEndTime() { |
|
288 |
return produceEndTime; |
|
289 |
} |
|
290 |
|
|
291 |
public void setProduceEndTime(Date produceEndTime) { |
|
292 |
this.produceEndTime = produceEndTime; |
|
293 |
} |
|
294 |
|
|
295 |
public String getWorkshopCode() { |
|
296 |
return workshopCode; |
|
297 |
} |
|
298 |
|
|
299 |
public void setWorkshopCode(String workshopCode) { |
|
300 |
this.workshopCode = workshopCode; |
|
301 |
} |
|
302 |
|
|
303 |
public String getLineCode() { |
|
304 |
return lineCode; |
|
305 |
} |
|
306 |
|
|
307 |
public void setLineCode(String lineCode) { |
|
308 |
this.lineCode = lineCode; |
|
309 |
} |
|
310 |
|
|
311 |
public String getState() { |
|
312 |
return state; |
|
313 |
} |
|
314 |
|
|
315 |
public void setState(String state) { |
|
316 |
this.state = state; |
|
317 |
} |
|
318 |
|
|
319 |
public Integer getBadQty() { |
|
320 |
return badQty; |
|
321 |
} |
|
322 |
|
|
323 |
public void setBadQty(Integer badQty) { |
|
324 |
this.badQty = badQty; |
|
325 |
} |
|
326 |
|
|
327 |
public Integer getRepairQty() { |
|
328 |
return repairQty; |
|
329 |
} |
|
330 |
|
|
331 |
public void setRepairQty(Integer repairQty) { |
|
332 |
this.repairQty = repairQty; |
|
333 |
} |
|
334 |
|
|
335 |
public Integer getScrapQty() { |
|
336 |
return scrapQty; |
|
337 |
} |
|
338 |
|
|
339 |
public void setScrapQty(Integer scrapQty) { |
|
340 |
this.scrapQty = scrapQty; |
|
341 |
} |
|
342 |
|
|
343 |
public String getRouteCode() { |
|
344 |
return routeCode; |
|
345 |
} |
|
346 |
|
|
347 |
public void setRouteCode(String routeCode) { |
|
348 |
this.routeCode = routeCode; |
|
349 |
} |
|
350 |
|
|
351 |
public String getBomCode() { |
|
352 |
return bomCode; |
|
353 |
} |
|
354 |
|
|
355 |
public void setBomCode(String bomCode) { |
|
356 |
this.bomCode = bomCode; |
|
357 |
} |
|
358 |
|
|
359 |
public String getRecipeCode() { |
|
360 |
return recipeCode; |
|
361 |
} |
|
362 |
|
|
363 |
public void setRecipeCode(String recipeCode) { |
|
364 |
this.recipeCode = recipeCode; |
|
365 |
} |
|
366 |
|
|
367 |
public String getSpareField1() { |
|
368 |
return spareField1; |
|
369 |
} |
|
370 |
|
|
371 |
public void setSpareField1(String spareField1) { |
|
372 |
this.spareField1 = spareField1; |
|
373 |
} |
|
374 |
|
|
375 |
public String getSpareField2() { |
|
376 |
return spareField2; |
|
377 |
} |
|
378 |
|
|
379 |
public void setSpareField2(String spareField2) { |
|
380 |
this.spareField2 = spareField2; |
|
381 |
} |
|
382 |
|
|
383 |
public String getSpareField3() { |
|
384 |
return spareField3; |
|
385 |
} |
|
386 |
|
|
387 |
public void setSpareField3(String spareField3) { |
|
388 |
this.spareField3 = spareField3; |
|
389 |
} |
|
390 |
|
|
391 |
public String getCreateUser() { |
|
392 |
return createUser; |
|
393 |
} |
|
394 |
|
|
395 |
public void setCreateUser(String createUser) { |
|
396 |
this.createUser = createUser; |
|
397 |
} |
|
398 |
|
|
399 |
public Date getCreateTime() { |
|
400 |
return createTime; |
|
401 |
} |
|
402 |
|
|
403 |
public void setCreateTime(Date createTime) { |
|
404 |
this.createTime = createTime; |
|
405 |
} |
|
406 |
|
|
407 |
public String getUpdateUser() { |
|
408 |
return updateUser; |
|
409 |
} |
|
410 |
|
|
411 |
public void setUpdateUser(String updateUser) { |
|
412 |
this.updateUser = updateUser; |
|
413 |
} |
|
414 |
|
|
415 |
public Date getUpdateTime() { |
|
416 |
return updateTime; |
|
417 |
} |
|
418 |
|
|
419 |
public void setUpdateTime(Date updateTime) { |
|
420 |
this.updateTime = updateTime; |
|
421 |
} |
|
422 |
|
|
423 |
public String getRemark() { |
|
424 |
return remark; |
|
425 |
} |
|
426 |
|
|
427 |
public void setRemark(String remark) { |
|
428 |
this.remark = remark; |
|
429 |
} |
|
430 |
|
|
431 |
@Override |
|
432 |
public String toString() { |
|
433 |
return "WorkOrder{" + |
|
434 |
"id=" + id + |
|
435 |
", workOrderCode=" + workOrderCode + |
|
436 |
", salesOrderCode=" + salesOrderCode + |
|
437 |
", productCode=" + productCode + |
|
438 |
", productName=" + productName + |
|
439 |
", planQty=" + planQty + |
|
440 |
", produceQty=" + produceQty + |
|
441 |
", onlineQty=" + onlineQty + |
|
442 |
", planStartTime=" + planStartTime + |
|
443 |
", planEndTime=" + planEndTime + |
|
444 |
", produceStartTime=" + produceStartTime + |
|
445 |
", produceEndTime=" + produceEndTime + |
|
446 |
", workshopCode=" + workshopCode + |
|
447 |
", lineCode=" + lineCode + |
|
448 |
", state=" + state + |
|
449 |
", badQty=" + badQty + |
|
450 |
", repairQty=" + repairQty + |
|
451 |
", scrapQty=" + scrapQty + |
|
452 |
", routeCode=" + routeCode + |
|
453 |
", bomCode=" + bomCode + |
|
454 |
", recipeCode=" + recipeCode + |
|
455 |
", spareField1=" + spareField1 + |
|
456 |
", spareField2=" + spareField2 + |
|
457 |
", spareField3=" + spareField3 + |
|
458 |
", createUser=" + createUser + |
|
459 |
", createTime=" + createTime + |
|
460 |
", updateUser=" + updateUser + |
|
461 |
", updateTime=" + updateTime + |
|
462 |
", remark=" + remark + |
|
463 |
"}"; |
|
464 |
} |
|
465 |
} |