提交 | 用户 | 时间
|
0ca254
|
1 |
package com.jcdm.main.om.productionOrde.domain; |
A |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
|
|
5 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
6 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
7 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
8 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
9 |
import com.jcdm.common.annotation.Excel; |
|
10 |
import com.jcdm.common.core.domain.BaseEntity; |
|
11 |
|
|
12 |
/** |
|
13 |
* 生产工单对象 om_production_orde_info |
|
14 |
* |
|
15 |
* @author ruimin |
|
16 |
* @date 2023-12-11 |
|
17 |
*/ |
|
18 |
public class OmProductionOrdeInfo extends BaseEntity |
|
19 |
{ |
|
20 |
private static final long serialVersionUID = 1L; |
|
21 |
|
|
22 |
/** ID */ |
|
23 |
private Long id; |
|
24 |
|
|
25 |
@Excel(name = "是否报工") |
|
26 |
private String sfResult; |
|
27 |
|
|
28 |
@Excel(name = "报工结果代码(S成功,F失败)") |
|
29 |
private String resultCode; |
|
30 |
|
|
31 |
@Excel(name = "报工信息结果") |
|
32 |
private String resultText; |
|
33 |
|
|
34 |
@Excel(name = "工站编号") |
|
35 |
private String stationCode; |
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
@Excel(name = "产品序列号") |
|
40 |
private String productNum; |
|
41 |
|
|
42 |
@Excel(name = "工厂编号") |
|
43 |
private String siteCode; |
|
44 |
|
|
45 |
/** 生产工单号 */ |
|
46 |
@Excel(name = "生产工单号") |
|
47 |
private String workOrderNo; |
|
48 |
|
|
49 |
/** 订单编号 */ |
|
50 |
@Excel(name = "订单编号") |
|
51 |
private String salesOrderCode; |
|
52 |
|
|
53 |
/** 产品编号 */ |
|
54 |
@Excel(name = "产品编号") |
|
55 |
private String productCode; |
|
56 |
|
|
57 |
/** 产品名称 */ |
|
58 |
@Excel(name = "产品名称") |
|
59 |
private String productName; |
|
60 |
|
|
61 |
/** 车间编号 */ |
|
62 |
@Excel(name = "车间编号") |
|
63 |
private String workshopCode; |
|
64 |
|
|
65 |
/** 产线编号 */ |
|
66 |
@Excel(name = "产线编号") |
|
67 |
private String lineCode; |
|
68 |
|
|
69 |
/** 工艺流程 */ |
|
70 |
@Excel(name = "工艺流程") |
|
71 |
private String routeCode; |
|
72 |
|
|
73 |
/** 产品BOM */ |
|
74 |
@Excel(name = "产品BOM") |
|
75 |
private String bomCode; |
|
76 |
|
|
77 |
/** 工艺配方 */ |
|
78 |
@Excel(name = "工艺配方") |
|
79 |
private String recipeCode; |
|
80 |
|
|
81 |
/** 计划数量 */ |
|
82 |
@Excel(name = "计划数量") |
|
83 |
private Long planQty; |
|
84 |
|
|
85 |
/** 实际数量 */ |
|
86 |
@Excel(name = "实际数量") |
|
87 |
private Long actualQty; |
|
88 |
|
|
89 |
/** 不良数量 */ |
|
90 |
@Excel(name = "不良数量") |
|
91 |
private Long badQty; |
|
92 |
|
|
93 |
/** 报废数量 */ |
|
94 |
@Excel(name = "报废数量") |
|
95 |
private Long scrapQty; |
|
96 |
|
|
97 |
/** 返修数量 */ |
|
98 |
@Excel(name = "返修数量") |
|
99 |
private Long repairQty; |
|
100 |
|
|
101 |
/** 实际上线数量 */ |
|
102 |
@Excel(name = "实际上线数量") |
|
103 |
private Long actualOnlineQty; |
|
104 |
|
|
105 |
/** 产品型号 */ |
|
106 |
@Excel(name = "产品型号") |
|
107 |
private String productModel; |
|
108 |
|
|
109 |
|
|
110 |
/** 上线完工标记 */ |
|
111 |
private String onlineCompletionMark; |
|
112 |
|
|
113 |
@TableField(exist = false) |
|
114 |
private Long frontEndId; |
|
115 |
|
|
116 |
/** 需求日期 */ |
|
117 |
@JsonFormat(pattern = "yyyy-MM-dd") |
|
118 |
@Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd") |
|
119 |
private Date demandDate; |
|
120 |
|
|
121 |
/** 计划开始时间 */ |
|
122 |
@Excel(name = "计划开始时间") |
|
123 |
private String planStartTime; |
|
124 |
|
|
125 |
/** 计划结束时间 */ |
|
126 |
@Excel(name = "计划结束时间") |
|
127 |
private String planEndTime; |
|
128 |
|
|
129 |
/** 实际开始时间 */ |
|
130 |
@Excel(name = "实际开始时间") |
|
131 |
private String actualStartTime; |
|
132 |
|
|
133 |
/** 实际结束时间 */ |
|
134 |
@Excel(name = "实际结束时间") |
|
135 |
private String actualEndTime; |
|
136 |
|
|
137 |
/** 顺序号 */ |
|
138 |
@Excel(name = "顺序号") |
|
139 |
private Long serialNumber; |
|
140 |
|
|
141 |
/** 工单状态(1创建、2已发布、3生产中、4已冻结、5已完工、6已关闭) */ |
|
142 |
@Excel(name = "工单状态", readConverterExp = "1=创建、2已发布、3生产中、4已冻结、5已完工、6已关闭") |
|
143 |
private String orderStatus; |
|
144 |
|
|
145 |
/** 创建时间 */ |
|
146 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
147 |
private Date createTime; |
|
148 |
|
|
149 |
/** 创建人 */ |
|
150 |
@Excel(name = "创建人") |
|
151 |
private String createUser; |
|
152 |
|
|
153 |
/** 修改人 */ |
|
154 |
@Excel(name = "修改人") |
|
155 |
private String updateUser; |
|
156 |
|
|
157 |
/** 备注 */ |
|
158 |
@Excel(name = "备注") |
|
159 |
private String remarks; |
|
160 |
|
|
161 |
/** 流水号 */ |
|
162 |
@Excel(name = "流水号") |
|
163 |
private String streamNumber; |
|
164 |
|
|
165 |
/** 客户 */ |
|
166 |
@Excel(name = "客户") |
|
167 |
private String custom; |
|
168 |
|
|
169 |
/** 市场区域编码 */ |
|
170 |
@Excel(name = "市场区域编码") |
|
171 |
private String materialCode; |
|
172 |
|
|
173 |
/** 软件版本编码 */ |
|
174 |
@Excel(name = "软件版本编码") |
|
175 |
private String softwareVersionCode; |
|
176 |
|
|
177 |
/** 产品公司编码 */ |
|
178 |
@Excel(name = "产品公司编码") |
|
179 |
private String productCompanyCode; |
|
180 |
|
|
181 |
/** 预留字段1 */ |
|
182 |
private String trolleyYard; |
|
183 |
|
|
184 |
/** 预留字段2 */ |
|
185 |
private String spareField2; |
|
186 |
|
|
187 |
/** 预留字段3 */ |
|
188 |
private String spareField3; |
|
189 |
|
|
190 |
/** 预留字段4 */ |
|
191 |
private String spareField4; |
|
192 |
|
|
193 |
@TableField(exist = false) |
|
194 |
private Long[] idNums; |
|
195 |
|
|
196 |
@TableField(exist = false) |
|
197 |
private String flag; |
|
198 |
|
|
199 |
|
|
200 |
@Override |
|
201 |
public Date getCreateTime() { |
|
202 |
return createTime; |
|
203 |
} |
|
204 |
|
|
205 |
@Override |
|
206 |
public void setCreateTime(Date createTime) { |
|
207 |
this.createTime = createTime; |
|
208 |
} |
|
209 |
|
|
210 |
public String getProductModel() { |
|
211 |
return productModel; |
|
212 |
} |
|
213 |
|
|
214 |
public void setProductModel(String productModel) { |
|
215 |
this.productModel = productModel; |
|
216 |
} |
|
217 |
|
|
218 |
public String getSfResult() { |
|
219 |
return sfResult; |
|
220 |
} |
|
221 |
|
|
222 |
public void setSfResult(String sfResult) { |
|
223 |
this.sfResult = sfResult; |
|
224 |
} |
|
225 |
|
|
226 |
public String getResultCode() { |
|
227 |
return resultCode; |
|
228 |
} |
|
229 |
|
|
230 |
public void setResultCode(String resultCode) { |
|
231 |
this.resultCode = resultCode; |
|
232 |
} |
|
233 |
|
|
234 |
public String getResultText() { |
|
235 |
return resultText; |
|
236 |
} |
|
237 |
|
|
238 |
public void setResultText(String resultText) { |
|
239 |
this.resultText = resultText; |
|
240 |
} |
|
241 |
|
|
242 |
public String getStationCode() { |
|
243 |
return stationCode; |
|
244 |
} |
|
245 |
|
|
246 |
public void setStationCode(String stationCode) { |
|
247 |
this.stationCode = stationCode; |
|
248 |
} |
|
249 |
|
|
250 |
public String getProductNum() { |
|
251 |
return productNum; |
|
252 |
} |
|
253 |
|
|
254 |
public void setProductNum(String productNum) { |
|
255 |
this.productNum = productNum; |
|
256 |
} |
|
257 |
public String getSiteCode() {return siteCode;} |
|
258 |
public void setSiteCode(String siteCode) {this.siteCode = siteCode;} |
|
259 |
public String getFlag() { |
|
260 |
return flag; |
|
261 |
} |
|
262 |
|
|
263 |
public void setFlag(String flag) { |
|
264 |
this.flag = flag; |
|
265 |
} |
|
266 |
|
|
267 |
public Long[] getIdNums() { |
|
268 |
return idNums; |
|
269 |
} |
|
270 |
|
|
271 |
public void setIdNums(Long[] idNums) { |
|
272 |
this.idNums = idNums; |
|
273 |
} |
|
274 |
|
|
275 |
public Long getFrontEndId() { |
|
276 |
return frontEndId; |
|
277 |
} |
|
278 |
|
|
279 |
public void setFrontEndId(Long frontEndId) { |
|
280 |
this.frontEndId = frontEndId; |
|
281 |
} |
|
282 |
|
|
283 |
public void setId(Long id) |
|
284 |
{ |
|
285 |
this.id = id; |
|
286 |
} |
|
287 |
|
|
288 |
public Long getId() |
|
289 |
{ |
|
290 |
return id; |
|
291 |
} |
|
292 |
public void setWorkOrderNo(String workOrderNo) |
|
293 |
{ |
|
294 |
this.workOrderNo = workOrderNo; |
|
295 |
} |
|
296 |
|
|
297 |
public String getWorkOrderNo() |
|
298 |
{ |
|
299 |
return workOrderNo; |
|
300 |
} |
|
301 |
public void setSalesOrderCode(String salesOrderCode) |
|
302 |
{ |
|
303 |
this.salesOrderCode = salesOrderCode; |
|
304 |
} |
|
305 |
|
|
306 |
public String getSalesOrderCode() |
|
307 |
{ |
|
308 |
return salesOrderCode; |
|
309 |
} |
|
310 |
public void setProductCode(String productCode) |
|
311 |
{ |
|
312 |
this.productCode = productCode; |
|
313 |
} |
|
314 |
|
|
315 |
public String getProductCode() |
|
316 |
{ |
|
317 |
return productCode; |
|
318 |
} |
|
319 |
public void setProductName(String productName) |
|
320 |
{ |
|
321 |
this.productName = productName; |
|
322 |
} |
|
323 |
|
|
324 |
public String getProductName() |
|
325 |
{ |
|
326 |
return productName; |
|
327 |
} |
|
328 |
public void setWorkshopCode(String workshopCode) |
|
329 |
{ |
|
330 |
this.workshopCode = workshopCode; |
|
331 |
} |
|
332 |
|
|
333 |
public String getWorkshopCode() |
|
334 |
{ |
|
335 |
return workshopCode; |
|
336 |
} |
|
337 |
public void setLineCode(String lineCode) |
|
338 |
{ |
|
339 |
this.lineCode = lineCode; |
|
340 |
} |
|
341 |
|
|
342 |
public String getLineCode() |
|
343 |
{ |
|
344 |
return lineCode; |
|
345 |
} |
|
346 |
public void setRouteCode(String routeCode) |
|
347 |
{ |
|
348 |
this.routeCode = routeCode; |
|
349 |
} |
|
350 |
|
|
351 |
public String getRouteCode() |
|
352 |
{ |
|
353 |
return routeCode; |
|
354 |
} |
|
355 |
public void setBomCode(String bomCode) |
|
356 |
{ |
|
357 |
this.bomCode = bomCode; |
|
358 |
} |
|
359 |
|
|
360 |
public String getBomCode() |
|
361 |
{ |
|
362 |
return bomCode; |
|
363 |
} |
|
364 |
public void setRecipeCode(String recipeCode) |
|
365 |
{ |
|
366 |
this.recipeCode = recipeCode; |
|
367 |
} |
|
368 |
|
|
369 |
public String getRecipeCode() |
|
370 |
{ |
|
371 |
return recipeCode; |
|
372 |
} |
|
373 |
public void setPlanQty(Long planQty) |
|
374 |
{ |
|
375 |
this.planQty = planQty; |
|
376 |
} |
|
377 |
|
|
378 |
public Long getPlanQty() |
|
379 |
{ |
|
380 |
return planQty; |
|
381 |
} |
|
382 |
public void setActualQty(Long actualQty) |
|
383 |
{ |
|
384 |
this.actualQty = actualQty; |
|
385 |
} |
|
386 |
|
|
387 |
public Long getActualQty() |
|
388 |
{ |
|
389 |
return actualQty; |
|
390 |
} |
|
391 |
public void setBadQty(Long badQty) |
|
392 |
{ |
|
393 |
this.badQty = badQty; |
|
394 |
} |
|
395 |
|
|
396 |
public Long getBadQty() |
|
397 |
{ |
|
398 |
return badQty; |
|
399 |
} |
|
400 |
public void setScrapQty(Long scrapQty) |
|
401 |
{ |
|
402 |
this.scrapQty = scrapQty; |
|
403 |
} |
|
404 |
|
|
405 |
public Long getScrapQty() |
|
406 |
{ |
|
407 |
return scrapQty; |
|
408 |
} |
|
409 |
public void setRepairQty(Long repairQty) |
|
410 |
{ |
|
411 |
this.repairQty = repairQty; |
|
412 |
} |
|
413 |
|
|
414 |
public Long getRepairQty() |
|
415 |
{ |
|
416 |
return repairQty; |
|
417 |
} |
|
418 |
public void setActualOnlineQty(Long actualOnlineQty) |
|
419 |
{ |
|
420 |
this.actualOnlineQty = actualOnlineQty; |
|
421 |
} |
|
422 |
|
|
423 |
public Long getActualOnlineQty() |
|
424 |
{ |
|
425 |
return actualOnlineQty; |
|
426 |
} |
|
427 |
public void setOnlineCompletionMark(String onlineCompletionMark) |
|
428 |
{ |
|
429 |
this.onlineCompletionMark = onlineCompletionMark; |
|
430 |
} |
|
431 |
|
|
432 |
public String getOnlineCompletionMark() |
|
433 |
{ |
|
434 |
return onlineCompletionMark; |
|
435 |
} |
|
436 |
public void setDemandDate(Date demandDate) |
|
437 |
{ |
|
438 |
this.demandDate = demandDate; |
|
439 |
} |
|
440 |
|
|
441 |
public Date getDemandDate() |
|
442 |
{ |
|
443 |
return demandDate; |
|
444 |
} |
|
445 |
public void setPlanStartTime(String planStartTime) |
|
446 |
{ |
|
447 |
this.planStartTime = planStartTime; |
|
448 |
} |
|
449 |
|
|
450 |
public String getPlanStartTime() |
|
451 |
{ |
|
452 |
return planStartTime; |
|
453 |
} |
|
454 |
public void setPlanEndTime(String planEndTime) |
|
455 |
{ |
|
456 |
this.planEndTime = planEndTime; |
|
457 |
} |
|
458 |
|
|
459 |
public String getPlanEndTime() |
|
460 |
{ |
|
461 |
return planEndTime; |
|
462 |
} |
|
463 |
public void setActualStartTime(String actualStartTime) |
|
464 |
{ |
|
465 |
this.actualStartTime = actualStartTime; |
|
466 |
} |
|
467 |
|
|
468 |
public String getActualStartTime() |
|
469 |
{ |
|
470 |
return actualStartTime; |
|
471 |
} |
|
472 |
public void setActualEndTime(String actualEndTime) |
|
473 |
{ |
|
474 |
this.actualEndTime = actualEndTime; |
|
475 |
} |
|
476 |
|
|
477 |
public String getActualEndTime() |
|
478 |
{ |
|
479 |
return actualEndTime; |
|
480 |
} |
|
481 |
public void setSerialNumber(Long serialNumber) |
|
482 |
{ |
|
483 |
this.serialNumber = serialNumber; |
|
484 |
} |
|
485 |
|
|
486 |
public Long getSerialNumber() |
|
487 |
{ |
|
488 |
return serialNumber; |
|
489 |
} |
|
490 |
public void setOrderStatus(String orderStatus) |
|
491 |
{ |
|
492 |
this.orderStatus = orderStatus; |
|
493 |
} |
|
494 |
|
|
495 |
public String getOrderStatus() |
|
496 |
{ |
|
497 |
return orderStatus; |
|
498 |
} |
|
499 |
public void setCreateUser(String createUser) |
|
500 |
{ |
|
501 |
this.createUser = createUser; |
|
502 |
} |
|
503 |
|
|
504 |
public String getCreateUser() |
|
505 |
{ |
|
506 |
return createUser; |
|
507 |
} |
|
508 |
public void setUpdateUser(String updateUser) |
|
509 |
{ |
|
510 |
this.updateUser = updateUser; |
|
511 |
} |
|
512 |
|
|
513 |
public String getUpdateUser() |
|
514 |
{ |
|
515 |
return updateUser; |
|
516 |
} |
|
517 |
public void setRemarks(String remarks) |
|
518 |
{ |
|
519 |
this.remarks = remarks; |
|
520 |
} |
|
521 |
|
|
522 |
public String getRemarks() |
|
523 |
{ |
|
524 |
return remarks; |
|
525 |
} |
|
526 |
public void setStreamNumber(String streamNumber) |
|
527 |
{ |
|
528 |
this.streamNumber = streamNumber; |
|
529 |
} |
|
530 |
|
|
531 |
public String getStreamNumber() |
|
532 |
{ |
|
533 |
return streamNumber; |
|
534 |
} |
|
535 |
public void setCustom(String custom) |
|
536 |
{ |
|
537 |
this.custom = custom; |
|
538 |
} |
|
539 |
|
|
540 |
public String getCustom() |
|
541 |
{ |
|
542 |
return custom; |
|
543 |
} |
|
544 |
|
|
545 |
public String getMaterialCode() { |
|
546 |
return materialCode; |
|
547 |
} |
|
548 |
|
|
549 |
public void setMaterialCode(String materialCode) { |
|
550 |
this.materialCode = materialCode; |
|
551 |
} |
|
552 |
|
|
553 |
public void setSoftwareVersionCode(String softwareVersionCode) |
|
554 |
{ |
|
555 |
this.softwareVersionCode = softwareVersionCode; |
|
556 |
} |
|
557 |
|
|
558 |
public String getSoftwareVersionCode() |
|
559 |
{ |
|
560 |
return softwareVersionCode; |
|
561 |
} |
|
562 |
public void setProductCompanyCode(String productCompanyCode) |
|
563 |
{ |
|
564 |
this.productCompanyCode = productCompanyCode; |
|
565 |
} |
|
566 |
|
|
567 |
public String getProductCompanyCode() |
|
568 |
{ |
|
569 |
return productCompanyCode; |
|
570 |
} |
|
571 |
|
|
572 |
public String getTrolleyYard() { |
|
573 |
return trolleyYard; |
|
574 |
} |
|
575 |
|
|
576 |
public void setTrolleyYard(String trolleyYard) { |
|
577 |
this.trolleyYard = trolleyYard; |
|
578 |
} |
|
579 |
|
|
580 |
public void setSpareField2(String spareField2) |
|
581 |
{ |
|
582 |
this.spareField2 = spareField2; |
|
583 |
} |
|
584 |
|
|
585 |
public String getSpareField2() |
|
586 |
{ |
|
587 |
return spareField2; |
|
588 |
} |
|
589 |
public void setSpareField3(String spareField3) |
|
590 |
{ |
|
591 |
this.spareField3 = spareField3; |
|
592 |
} |
|
593 |
|
|
594 |
public String getSpareField3() |
|
595 |
{ |
|
596 |
return spareField3; |
|
597 |
} |
|
598 |
public void setSpareField4(String spareField4) |
|
599 |
{ |
|
600 |
this.spareField4 = spareField4; |
|
601 |
} |
|
602 |
|
|
603 |
public String getSpareField4() |
|
604 |
{ |
|
605 |
return spareField4; |
|
606 |
} |
|
607 |
|
|
608 |
@Override |
|
609 |
public String toString() { |
|
610 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
611 |
.append("id", getId()) |
|
612 |
.append("workOrderNo", getWorkOrderNo()) |
|
613 |
.append("salesOrderCode", getSalesOrderCode()) |
|
614 |
.append("productCode", getProductCode()) |
|
615 |
.append("productName", getProductName()) |
|
616 |
.append("workshopCode", getWorkshopCode()) |
|
617 |
.append("lineCode", getLineCode()) |
|
618 |
.append("routeCode", getRouteCode()) |
|
619 |
.append("bomCode", getBomCode()) |
|
620 |
.append("recipeCode", getRecipeCode()) |
|
621 |
.append("planQty", getPlanQty()) |
|
622 |
.append("actualQty", getActualQty()) |
|
623 |
.append("badQty", getBadQty()) |
|
624 |
.append("scrapQty", getScrapQty()) |
|
625 |
.append("repairQty", getRepairQty()) |
|
626 |
.append("actualOnlineQty", getActualOnlineQty()) |
|
627 |
.append("onlineCompletionMark", getOnlineCompletionMark()) |
|
628 |
.append("demandDate", getDemandDate()) |
|
629 |
.append("planStartTime", getPlanStartTime()) |
|
630 |
.append("planEndTime", getPlanEndTime()) |
|
631 |
.append("actualStartTime", getActualStartTime()) |
|
632 |
.append("actualEndTime", getActualEndTime()) |
|
633 |
.append("serialNumber", getSerialNumber()) |
|
634 |
.append("orderStatus", getOrderStatus()) |
|
635 |
.append("createTime", getCreateTime()) |
|
636 |
.append("updateTime", getUpdateTime()) |
|
637 |
.append("createUser", getCreateUser()) |
|
638 |
.append("updateUser", getUpdateUser()) |
|
639 |
.append("remarks", getRemarks()) |
|
640 |
.append("streamNumber", getStreamNumber()) |
|
641 |
.append("custom", getCustom()) |
|
642 |
.append("softwareVersionCode", getSoftwareVersionCode()) |
|
643 |
.append("productCompanyCode", getProductCompanyCode()) |
|
644 |
.append("spareField2", getSpareField2()) |
|
645 |
.append("spareField3", getSpareField3()) |
|
646 |
.append("spareField4", getSpareField4()) |
|
647 |
.append("siteCode", getSiteCode()) |
|
648 |
.append("productNum", getProductNum()) |
|
649 |
.append("stationCode", getStationCode()) |
|
650 |
.append("resultCode", getResultCode()) |
|
651 |
.append("resultText", getResultText()) |
|
652 |
.append("sfResult", getSfResult()) |
|
653 |
.toString(); |
|
654 |
} |
|
655 |
} |