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

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

import java.io.Serializable;

/**
 * @author wangjie
 * @version 1.0
 * @date 2021/1/15 15:32
 **/
@Data
@ApiModel("JX出货检验项目明细报表 MODEL")
public class JxOqcCheckDetailReportModel implements Serializable {

    private static final long serialVersionUID = 8121267344743716004L;

    @ApiParam("生产日期")
    private String workTime;

    @ApiParam("生产工单号")
    private String workOrderNo;

    @ApiParam("物料编码")
    private String partNo;

    @ApiParam("物料名称")
    private String partNameRdd;

    @ApiParam("生产线")
    private String workCenterCode;

    @ApiParam("班次代码")
    private String shiftCode;

    @ApiParam("单据号")
    private String oqcNo;

    @ApiParam("产品条码")
    private String serialNumber;

    @ApiParam("包装条码")
    private String packageNo;

    @ApiParam("检验顺序")
    private Double seq;

    @ApiParam("检查项目")
    private String checkItem;

    @ApiParam("判定基准")
    private String standard;

    @ApiParam("检查器具")
    private String checkTool;

    @ApiParam("判断方式")
    private Integer checkType;

    @ApiParam("判断方式")
    private String checkTypeName;

    @ApiParam("标准值")
    private String standardValue;

    @ApiParam("上限值")
    private String upLimit;

    @ApiParam("下限值")
    private String downLimit;

    @ApiParam("备注")
    private String remark;

    @ApiParam("实际值")
    private String checkValue;

    @ApiParam("检验结果")
    private Integer checkResult;

    @ApiParam("检验结果")
    private String checkResultName;

    @ApiParam("检验结果背景颜色")
    private String checkResultColor;

    @ApiParam("检验人")
    private String checkUser;

    @ApiParam("项目检验时间")
    private String itemCheckTime;

    @ApiParam("确认人")
    private String confirmUser;

    @ApiParam("确认时间")
    private String confirmTime;

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

    @ApiParam("创建人")
    public String createUser;

    @ApiParam("创建时间")
    public String createDatetime;

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

    @ApiParam("修改时间")
    public String modifyDatetime;

    @ApiParam("id")
    public String idStr;

    @ApiParam("id")
    public Long id;

    @ApiParam("生产日期开始")
    public String workTimeStart;

    @ApiParam("生产日期结束")
    public String workTimeEnd;

    @ApiParam("检验单类型")
    private Integer oqcNoType;

    @ApiParam("检验单类型")
    private String oqcNoTypeName;

    public JxOqcCheckDetailReportModel() {
    }

    public JxOqcCheckDetailReportModel(String workTime, String workOrderNo, String partNo, String partNameRdd, String workCenterCode, String shiftCode, String oqcNo, String serialNumber, String packageNo, Double seq, String checkItem, String standard, String checkTool, Integer checkType, String standardValue, String upLimit, String downLimit, String remark, String checkValue, Integer checkResult, String checkUser, String itemCheckTime, String confirmUser, String confirmTime, String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime, Long id, Integer oqcNoType) {
        this.workTime = workTime;
        this.workOrderNo = workOrderNo;
        this.partNo = partNo;
        this.partNameRdd = partNameRdd;
        this.workCenterCode = workCenterCode;
        this.shiftCode = shiftCode;
        this.oqcNo = oqcNo;
        this.serialNumber = serialNumber;
        this.packageNo = packageNo;
        this.seq = seq;
        this.checkItem = checkItem;
        this.standard = standard;
        this.checkTool = checkTool;
        this.checkType = checkType;
        this.standardValue = standardValue;
        this.upLimit = upLimit;
        this.downLimit = downLimit;
        this.remark = remark;
        this.checkValue = checkValue;
        this.checkResult = checkResult;
        this.checkUser = checkUser;
        this.itemCheckTime = itemCheckTime;
        this.confirmUser = confirmUser;
        this.confirmTime = confirmTime;
        this.organizeCode = organizeCode;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
        this.id = id;
        this.oqcNoType = oqcNoType;
    }
}
