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