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

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

import java.io.Serializable;

/**
 * @PROJECT_NAME: i3plus-mes-panasonic-bu
 * @DESCRIPTION:
 * @USER: xinwang.yi
 * @DATE: 2023-01-29 14:12
 */
@Data
@ApiModel("大小包装条码MODEL")
public class MesOuterPackageRetrospectModel implements Serializable {

    private static final long serialVersionUID = -6051502915795694344L;

    @ApiParam("产线代码")
    private String workCenterCode;

    @ApiParam("产线名称")
    private String workCenterName;

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

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

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

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

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

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

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

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

    @ApiParam("工单类型")
    private Integer workOrderType;

    @ApiParam("工单类型描述")
    private String workOrderTypeName;

    @ApiParam("容器编号")
    private String ctNo;

    @ApiParam("是否封箱")
    private Integer isSealed;

    @ApiParam("是否封箱描述")
    private String isSealedName;

    @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("id")
    private Long id;

    @ApiParam("生产时间开始")
    private String workTimeStart;

    @ApiParam("生产时间结束")
    private String workTimeEnd;

    public MesOuterPackageRetrospectModel() {
    }

    public MesOuterPackageRetrospectModel(String workCenterCode, String workCenterName, String outerPackageNo, String innerPackageNo, String shiftCode, String shiftName, String workTime, String partNo, String partNameRdd, String workOrderNo, Integer workOrderType, String ctNo, Integer isSealed, String organizeCode, Integer isValid, Integer isDeleted, String createUser, String createDatetime, String modifyUser, String modifyDatetime, Long id) {
        this.workCenterCode = workCenterCode;
        this.workCenterName = workCenterName;
        this.outerPackageNo = outerPackageNo;
        this.innerPackageNo = innerPackageNo;
        this.shiftCode = shiftCode;
        this.shiftName = shiftName;
        this.workTime = workTime;
        this.partNo = partNo;
        this.partNameRdd = partNameRdd;
        this.workOrderNo = workOrderNo;
        this.workOrderType = workOrderType;
        this.ctNo = ctNo;
        this.isSealed = isSealed;
        this.organizeCode = organizeCode;
        this.isValid = isValid;
        this.isDeleted = isDeleted;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
        this.id = id;
    }
}
