liyong
2 天以前 88ae1e650fc2fc30928edfe8f3cc39108d8d1ccd
src/main/java/com/ruoyi/production/bean/dto/ProductionPlanImportDto.java
@@ -1,12 +1,11 @@
package com.ruoyi.production.bean.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.time.LocalDate;
/**
 * <br>
@@ -20,126 +19,43 @@
@Data
@Schema(name = "销售生产需求 Excel导入导出DTO")
public class ProductionPlanImportDto {
    /**
     * 申请单编号
     */
    @Schema(description = "申请单编号")
    @Excel(name = "申请单编号")
    private String applyNo;
    /**
     * 客户名称
     */
    @Schema(description = "客户名称")
    @Excel(name = "客户名称")
    private String customerName;
    @Schema(description = "主生产计划号")
    @Excel(name = "主生产计划号")
    private String mpsNo;
    /**
     * 物料编码
     */
    @Schema(description = "物料编码")
    @Excel(name = "物料编码")
    private String materialCode;
    @Schema(description = "需求日期")
    @Excel(name = "需求日期")
    private LocalDate requiredDate;
    /**
     * 产品名称
     */
    @Schema(description = "备注")
    @Excel(name = "备注")
    private String remark;
    @Schema(description = "需求数量")
    @Excel(name = "需求数量")
    private BigDecimal qtyRequired;
    @Schema(description = "来源 销售/内部")
    @Excel(name = "来源 销售/内部")
    private String source;
    @Schema(description = "承诺日期")
    @Excel(name = "承诺日期")
    private LocalDate promisedDeliveryDate;
    @Schema(description = "产品名称")
    @Excel(name = "产品名称")
    private String productName;
    /**
     * 产品规格
     */
    @Schema(description = "产品规格")
    @Excel(name = "产品规格")
    private String productSpec;
    @Schema(description = "规格型号")
    @Excel(name = "规格型号")
    private String model;
    /**
     * 长
     */
    @Schema(description = "长")
    @Excel(name = "长(mm)")
    private Integer length;
    @Schema(description = "单位")
    @Excel(name = "单位")
    private String unit;
    /**
     * 宽
     */
    @Schema(description = "宽")
    @Excel(name = "宽(mm)")
    private Integer width;
    /**
     * 高
     */
    @Schema(description = "高")
    @Excel(name = "高(mm)")
    private Integer height;
    /**
     * 块数
     */
    @Schema(description = "块数")
    @Excel(name = "块数")
    private Integer quantity;
    /**
     * 方数
     */
    @Schema(description = "方数")
    @Excel(name = "方数")
    private BigDecimal volume;
    /**
     * 强度
     */
    @Schema(description = "强度")
    @Excel(name = "强度")
    private String strength;
    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(description = "开始日期")
    @Excel(name = "开始日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date startDate;
    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(description = "结束日期")
    @Excel(name = "结束日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date endDate;
    /**
     * 提交人
     */
    @Schema(description = "提交人")
    @Excel(name = "提交人")
    private String submitter;
    /**
     * 提交人组织
     */
    @Schema(description = "提交人组织")
    @Excel(name = "提交人组织")
    private String submitOrg;
    /**
     * 备注1
     */
    @Schema(description = "备注1")
    @Excel(name = "备注1")
    private String remarkOne;
    /**
     * 备注2
     */
    @Schema(description = "备注2")
    @Excel(name = "备注2")
    private String remarkTwo;
    /**
     * 创建人
@@ -155,22 +71,11 @@
    @Excel(name = "修改人", type = Excel.Type.EXPORT)
    private String modifierName;
    /**
     * 数据同步类型:1=手动 2=定时任务
     */
    @Schema(description = "数据同步类型:1=手动 2=定时任务")
    private Integer dataSyncType;
    /**
     * 数据来源类型:1=同步 2=新增
     * 已下发数量
     */
    @Schema(description = "数据来源类型:1=同步 2=新增")
    private Integer dataSourceType;
    /**
     * 下发数量
     */
    @Schema(description = "下发数量")
    @Excel(name = "下发数量", type = Excel.Type.EXPORT)
    @Schema(description = "已下发数量")
    @Excel(name = "已下发数量", type = Excel.Type.EXPORT)
    private BigDecimal assignedQuantity;
}