package com.jwipc.order.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class ShortagePlanImportDTO implements Serializable {



    /**
     * 欠料版本
     */
    @ExcelProperty(value = "欠料版本",order = 1)
    private String shortageVersion;

    /**
     * 工单号
     */
    @ExcelProperty(value = "工单号",order = 10)
    private String workOrderNumber;



    /**
     * 产品料号
     */
    @ExcelProperty(value="产品料号",order =20)
    private String productCode;

    /**
     * 产品描述长文本
     */
    @ExcelProperty(value="产品描述长文本",order =30)
    private String productLongName;
    /**
     * 工厂编码
     */
    @ExcelProperty(value="工厂",order =40)
    private String factoryCode;
    /**
     * 物料编码
     */
    @ExcelProperty(value="物料编号",order =50)
    private String materialCode;

    /**
     * 物料长描述
     */
    @ExcelProperty(value="物料描述（长描述）",order =60)
    private String materialLongName;

    /**
     * 物料组
     */
    @ExcelProperty(value="物料组",order =80)
    private String materialGroup;

    /**
     * 物料组描述
     */
    @ExcelProperty(value="物料组描述",order =90)
    private String materialGroupName;
    /**
     * 需求数量
     */
    @ExcelProperty(value="需求数量",order =100)
    private BigDecimal demandQuantity;

    /**
     * 现有量:
     */
    @ExcelProperty(value="现有量",order =110)
    private BigDecimal currentQuantity;

    /**
     * 冻结库存
     */
    @ExcelProperty(value="冻结库存",order =120)
    private BigDecimal frozenInventory;

    /**
     * 不良品仓数量
     */
    @ExcelProperty(value="不良品仓数量",order =130)
    private BigDecimal defectiveWarehouseQuantity;
    /**
     * 质量检验
     */
    @ExcelProperty(value="质量检验",order =140)
    private BigDecimal qualityInspection;

    /**
     * 请购数量
     */
    @ExcelProperty(value="请购数量",order =150)
    private BigDecimal purchaseRequestQuantity;
    /**
     * 采购未交数量
     */
    @ExcelProperty(value="采购未交数量",order =160)
    private BigDecimal undeliveredPurchaseQuantity;
    /**
     * 缺料数量
     */
    @ExcelProperty(value="缺料数量",order =170)
    private BigDecimal shortageQuantity;
    /**
     * 合计缺料数
     */
    @ExcelProperty(value="合计缺料数",order =180)
    private BigDecimal totalShortageQuantity;
    /**
     * 需求日期
     */
    @ExcelProperty(value="需求日期",order =190)
    private LocalDate demandDate;
    /**
     * 上线日期
     */
    @ExcelProperty(value="上线日期",order =200)
    private LocalDate launchDate;

    /**
     * 采购组
     */
    @ExcelProperty(value="采购组",order =210)
    private String purchaseGroup;
    /**
     * 采购组
     */
    @ExcelProperty(value="采购组描述",order =220)
    private String purchaseGroupName;
    /**
     * 后继物料
     */
    @ExcelProperty(value="后继物料",order =230)
    private String successorMaterial;

    /**
     * 后继物料未交数量
     */
    @ExcelProperty(value="后继物料未交数量",order =240)
    private BigDecimal successorMaterialUndeliveredQuantity;

    /**
     * 替代料1:
     */
    @ExcelProperty(value="替代料1:",order =250)
    private String substituteMaterial1;

    /**
     * 替代料1库存
     */
    @ExcelProperty(value="替代料1库存",order =260)
    private BigDecimal substituteMaterial1Inventory;

    /**
     * 替代料2
     */
    @ExcelProperty(value="替代料2",order =270)
    private String substituteMaterial2;

    /**
     * 替代料2库存
     */
    @ExcelProperty(value="替代料2库存",order =280)
    private BigDecimal substituteMaterial2Inventory;

    /**
     * 替代料3
     */
    @ExcelProperty(value="替代料3",order =290)
    private String substituteMaterial3;

    /**
     * 替代料3库存
     */
    @ExcelProperty(value="替代料3库存",order =300)
    private BigDecimal substituteMaterial3Inventory;

}
