zouyu
2023-11-15 27879ae8c1df7ff014858456b17996cf62d34f9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
 *    Copyright (c) 2018-2025, ztt All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: ztt
 */
 
package com.chinaztt.mes.plan.dto;
 
import com.alibaba.fastjson.JSONObject;
import com.chinaztt.mes.plan.entity.CustomerOrder;
import com.chinaztt.mes.plan.entity.OperationTaskProduce;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
 
/**
 * 客户订单表
 *
 * @author cxf
 * @date 2020-09-14 16:35:26
 */
@Data
public class CustomerOrderDTO extends CustomerOrder implements Serializable {
 
    @ApiModelProperty(value = "下发需求数量")
    private BigDecimal requireNumber;
 
    @ApiModelProperty(value = "生产计划下发数量")
    private BigDecimal qtyPlaned;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "零件id")
    private Long partId;
 
    @ApiModelProperty(value = "零件名称")
    private String partName;
 
    @ApiModelProperty(value = "零件单位")
    private String unit;
 
    @ApiModelProperty(value = "字段和列名")
    List<OrderParamDTO> orderParamList;
 
    private JSONObject customerOrderList;
 
    private List<JSONObject> customerOrderAttachmentList;
 
    @ApiModelProperty(value = "主生产计划id")
    private Long mpsId;
 
    @ApiModelProperty(value = "主生产计划号")
    private String mpsNo;
 
    @ApiModelProperty(value = "实际计算出来的已预留数量,表字段不用,后面准备删除")
    private String reservedQuantityRealtime;
 
    @ApiModelProperty(value = "工艺文件名称")
    private String docName;
 
    @ApiModelProperty(value = "工艺文件编号")
    private String docNumber;
 
    @ApiModelProperty(value = "绝缘颜色")
    private String insulationColor;
 
    @ApiModelProperty(value = "护套颜色")
    private String sheathColor;
 
    @ApiModelProperty(value = "工程名称")
    private String entityName;
 
 
 
    @ApiModelProperty(value = "零件规格型号")
    private String specs;
 
    @ApiModelProperty(value = "订单头备注")
    private String comment;
 
    @ApiModelProperty(value = "工单批次号")
    private List<OperationTaskProduce> outPutBatchList;
 
    /**
     * 用于批量设置销售件号
     */
    private List<Long> updateIds;
 
    @ApiModelProperty(value = "工艺配置单文件")
    private List<OrderProcessConfigFileDTO> configFiles;
 
    @ApiModelProperty(value = "新工艺配置单")
    private ProcessConfigDTO processConfigDTO;
 
    @ApiModelProperty(value = "是否已有工艺配置单")
    private Boolean existProcessConfig;
 
    @ApiModelProperty(value = "是否提交")
    private Boolean commonChecked;
 
    @ApiModelProperty(value = "客户订单id集合")
    private List<Long> customerOrderIds;
 
    @ApiModelProperty(value = "客户订单号")
    private String customerContractNo;
 
    @ApiModelProperty(value = "签订日期")
    private LocalDateTime placeOrderDate;
 
    @ApiModelProperty(value = "开始日期")
    private LocalDateTime factoryPlaceOrderDate;
 
    @ApiModelProperty(value = "终止日期")
    private LocalDateTime verifyDate;
 
    @ApiModelProperty(value = "合同状态")
    private String returnStatus;
 
    @ApiModelProperty(value = "出库状态")
    private String originalContractStatus;
 
    @ApiModelProperty(value = "终止日期")
    private LocalDateTime endTime;
 
    @ApiModelProperty(value = "需求日期")
    private LocalDateTime deliveryDate;
 
}