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

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("条码 MODEL")
public class ProduceSnExtModel implements Serializable {

    private static final long serialVersionUID = 1832694824464302177L;

    @ApiParam("id")
    private Long id;

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

    @ApiParam("物料号")
    private String partNo;

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

    @ApiParam("质量状态")
    private Integer qcStatus;

    @ApiParam("质量状态")
    private String qcStatusName;

    @ApiParam("条码状态")
    private Integer snStatus;

    @ApiParam("条码状态")
    private String snStatusName;

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

    @ApiParam("工序代码")
    private String processCode;

    @ApiParam("下一工序代码")
    private String nextProcessCode;

    @ApiParam("出产线时间")
    private String outWorkCenterTime;

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

    @ApiParam("条码类型")
    private Integer snType;

    @ApiParam("条码类型")
    private String snTypeName;

    @ApiParam("生产批次")
    private String lotNo;

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

    @ApiParam("班次名称")
    private String shiftName;

    @ApiParam("作业时间")
    private String workTime;

    @ApiParam("过程标签模板")
    private String processLabelTemplate;

    @ApiParam("质保书标签模板")
    private String qualityAssureTemplate;

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

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

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

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

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

    @ApiParam("创建日期开始")
    public String createDatetimeStart;

    @ApiParam("创建日期结束")
    public String createDatetimeEnd;

    @ApiParam("出产线时间开始")
    private String outWorkCenterTimeStart;

    @ApiParam("出产线时间结束")
    private String outWorkCenterTimeEnd;

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

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

    public ProduceSnExtModel() {}

    public ProduceSnExtModel(Long id, String serialNumber, String partNo, String partNameRdd, Integer qcStatus, Integer snStatus,
                             String workCenterCode, String processCode, String nextProcessCode, String outWorkCenterTime, String workOrderNo,
                             Integer snType, String lotNo, String shiftCode, String workTime, String processLabelTemplate, String qualityAssureTemplate,
                             String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
        this.id = id;
        this.serialNumber = serialNumber;
        this.partNo = partNo;
        this.partNameRdd = partNameRdd;
        this.qcStatus = qcStatus;
        this.snStatus = snStatus;
        this.workCenterCode = workCenterCode;
        this.processCode = processCode;
        this.nextProcessCode = nextProcessCode;
        this.outWorkCenterTime = outWorkCenterTime;
        this.workOrderNo = workOrderNo;
        this.snType = snType;
        this.lotNo = lotNo;
        this.shiftCode = shiftCode;
        this.workTime = workTime;
        this.processLabelTemplate = processLabelTemplate;
        this.qualityAssureTemplate = qualityAssureTemplate;
        this.organizeCode = organizeCode;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
    }

}
