package com.ximai.mes.qc.domain;

import com.ximai.common.annotation.Excel;
import com.ximai.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 来料检验单行对象 qc_iqc_line
 *
 * @date 2022-05-19
 */
@Data
public class QcIqcLine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    private Long lineId;

    private String sapItemCode;

    private String batchNo;
    /**
     * 检验单ID
     */
    @Excel(name = "检验单ID")
    private Long iqcId;

    private String iqcCode;

    /**
     * 检测项ID
     */
    @Excel(name = "检测项ID")
    private Long indexId;

    /**
     * 检测项编码
     */
    @Excel(name = "检测项编码")
    private String indexCode;

    /**
     * 检测项名称
     */
    @Excel(name = "检测项名称")
    private String indexName;

    /**
     * 检测项类型
     */
    @Excel(name = "检测项类型")
    private String indexType;


    /**
     * 输入类型
     */
    @Excel(name = "输入类型")
    private int inputType;

    /**
     * 检测工具
     */
    @Excel(name = "检测工具")
    private String qcTool;

    /**
     * 检测要求
     */
    @Excel(name = "检测要求")
    private String checkMethod;

    /**
     * 标准值
     */
    @Excel(name = "标准值")
    private BigDecimal standerVal;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unitOfMeasure;

    /**
     * 误差上限
     */
    @Excel(name = "误差上限")
    private BigDecimal thresholdMax;

    /**
     * 误差下限
     */
    @Excel(name = "误差下限")
    private BigDecimal thresholdMin;

    /**
     * 致命缺陷数量
     */
    @Excel(name = "致命缺陷数量")
    private BigDecimal crQuantity;

    /**
     * 严重缺陷数量
     */
    @Excel(name = "严重缺陷数量")
    private BigDecimal majQuantity;

    /**
     * 轻微缺陷数量
     */
    @Excel(name = "轻微缺陷数量")
    private BigDecimal minQuantity;

    /**
     * 预留字段1
     */
    private String attr1;

    /**
     * 预留字段2
     */
    private String attr2;

    /**
     * 预留字段3
     */
    private Long attr3;

    /**
     * 预留字段4
     */
    private Long attr4;

    private Integer status;

}
