package cn.estsh.i3plus.ext.mes.pojo.model.ep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xiangming.liao
 * @version 1.0
 * @date 2021/1/15 15:32
 **/
@Data
@ApiModel("EP物料信息MODEL")
public class EpPartExtModel implements Serializable {

    private static final long serialVersionUID = 5528046553571608858L;

    @ApiParam("id")
    private Long id;

    @ApiParam("零件号")
    private String partNo;

    @ApiParam("零件名称")
    private String partName;

    @ApiParam("零件简称")
    private String briefText;

    @ApiParam("单位")
    private String unit;

    @ApiParam("分类1")
    private String categoryCode1;

    @ApiParam("分类2")
    private String categoryCode2;

    @ApiParam("分类3")
    private String categoryCode3;

    @ApiParam("产品编码匹配类型")
    private Integer processMatchType;

    @ApiParam("包装编码匹配类型")
    private Integer packageMatchType;

    @ApiParam("产品编码匹配类型")
    private String processMatchTypeName;

    @ApiParam("包装编码匹配类型")
    private String packageMatchTypeName;

    @ApiParam("标准包规数量")
   // private Double partSpecQty;
    private Double qty2;

    @ApiParam("产品类型代码")
    private String pptCode;

    @ApiParam("颜色代码")
    private String colorCode;

    @ApiParam("颜色名称")
    private String colorName;

    @ApiParam("销售向")
    private String salesTo;

    @ApiParam("销售向名称")
    private String salesToName;

    @ApiParam("是否出货检验")
    private Integer isOqc;

    @ApiParam("是否出货检验名称")
    private String isOqcName;

    @ApiParam("是否生成条码")
    private Integer isCreateSn;

    @ApiParam("是否生成条码名称")
    private String isCreateSnName;

    @ApiParam("是否PS部件")
    private Integer isPSParts;

    @ApiParam("是否PS部件名称")
    private String isPSPartsName;

    @ApiParam("标准工数(s)")
    private Double standardWork;

    @ApiParam("日文描述")
    private String japanDesc;

    @ApiParam("商品码")
    private String goodsCode;

    @ApiParam("前缀")
    private String prefix;

    @ApiParam("质保书码")
    private String qualityAssureCode;

    @ApiParam("物料识别码")
    private String identifyCode;

    @ApiParam("条码末位数")
    private String snLastCode;

    @ApiParam("文件ID")
    private Long fileId;

    @ApiParam("文件URL")
    private String fileUrl;

    @ApiParam("文件原名")
    private String fileOriginName;

    @ApiParam("上传时间")
    private String uploadDatetime;

    @ApiParam("组织代码")
    private String organizeCode;

    @ApiParam("有效性")
    private Integer isValid;

    @ApiParam("是否已删除")
    private Integer isDeleted;

    @ApiParam("创建用户")
    private String createUser;

    @ApiParam("创建日期")
    private String createDatetime;

    @ApiParam("修改人")
    private String modifyUser;

    @ApiParam("修改日期")
    private String modifyDatetime;

    @ApiParam("成品批次号长度")
    private Integer partLotNoLength;

    public EpPartExtModel() {
    }

    public EpPartExtModel(Long id, String partNo, String partName, String briefText, String unit, String categoryCode1, String categoryCode2, String categoryCode3,
                          Integer processMatchType, Integer packageMatchType, Double qty2, String pptCode, String colorCode, String colorName,
                          String salesTo, Integer isOqc, Integer isCreateSn, Integer isPSParts, Double standardWork, String japanDesc, String goodsCode,
                          String prefix, String qualityAssureCode, String identifyCode, String snLastCode, Long fileId, String fileOriginName,
                          String uploadDatetime, String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime, String fileUrl, Integer partLotNoLength) {
        this.id = id;
        this.partNo = partNo;
        this.partName = partName;
        this.briefText = briefText;
        this.unit = unit;
        this.categoryCode1 = categoryCode1;
        this.categoryCode2 = categoryCode2;
        this.categoryCode3 = categoryCode3;
        this.processMatchType = processMatchType;
        this.packageMatchType = packageMatchType;
        this.qty2 = qty2;
        this.pptCode = pptCode;
        this.colorCode = colorCode;
        this.colorName = colorName;
        this.salesTo = salesTo;
        this.isOqc = isOqc;
        this.isCreateSn = isCreateSn;
        this.isPSParts = isPSParts;
        this.standardWork = standardWork;
        this.japanDesc = japanDesc;
        this.goodsCode = goodsCode;
        this.prefix = prefix;
        this.qualityAssureCode = qualityAssureCode;
        this.identifyCode = identifyCode;
        this.snLastCode = snLastCode;
        this.fileId = fileId;
        this.fileOriginName = fileOriginName;
        this.uploadDatetime = uploadDatetime;
        this.organizeCode = organizeCode;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
        this.fileUrl = fileUrl;
        this.partLotNoLength = partLotNoLength;
    }
}
