/* * 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 LocalDateTime deliveryDate; @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 orderParamList; private JSONObject customerOrderList; private List 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 outPutBatchList; /** * 用于批量设置销售件号 */ private List updateIds; @ApiModelProperty(value = "工艺配置单文件") private List configFiles; @ApiModelProperty(value = "新工艺配置单") private ProcessConfigDTO processConfigDTO; @ApiModelProperty(value = "是否已有工艺配置单") private Boolean existProcessConfig; @ApiModelProperty(value = "是否提交") private Boolean commonChecked; @ApiModelProperty(value = "客户订单id集合") private List customerOrderIds; @ApiModelProperty(value = "客户订单号") private String customerOrderNo; @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; }