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("产线班次固定作业内容信息表")
public class ShiftProdCenterModel implements Serializable {

    private static final long serialVersionUID = -4303098387572807060L;

    @ApiParam("ID")
    private Long id;

    @ApiParam("工作中心代码")
    private String workCenterCode;

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

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

    @ApiParam("开始时间")
    private String startTime;

    @ApiParam("结束时间")
    private String endTime;

    @ApiParam("作业内容代码")
    private String prodCode;

    @ApiParam("作业内容名称")
    private String prodName;

    @ApiParam("作业内容分类")
    private Integer prodCategory;

    @ApiParam("是否作业时间")
    private Integer isProdTime;

    @ApiParam("作业类型")
    private Integer prodType;

    @ApiParam("班次开始时间")
    private String shiftStartTime;

    @ApiParam("班次结束时间")
    private String shiftEndTime;

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

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

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

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

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

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

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

    @ApiParam("开始时间")
    private String startTimeStart;

    @ApiParam("开始时间")
    private String startTimeEnd;

    @ApiParam("结束时间")
    private String endTimeStart;

    @ApiParam("结束时间")
    private String endTimeEnd;

    @ApiParam("作业内容分类")
    private String prodCategoryName;

    @ApiParam("是否作业时间")
    private String isProdTimeName;

    @ApiParam("作业类型")
    private String prodTypeName;

    @ApiParam("开始时间(年月日时分秒)")
    private String startDateTime;

    @ApiParam("结束时间(年月日时分秒)")
    private String endDateTime;

    public ShiftProdCenterModel() {
    }

    public ShiftProdCenterModel(Long id, String workCenterCode, String shiftCode, String shiftName, String startTime,
                                String endTime, String prodCode, String prodName, Integer prodCategory, Integer isProdTime,
                                Integer prodType, String shiftStartTime, String shiftEndTime, String organizeCode, Integer isValid,
                                Integer isDeleted, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
        this.id = id;
        this.workCenterCode = workCenterCode;
        this.shiftCode = shiftCode;
        this.shiftName = shiftName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.prodCode = prodCode;
        this.prodName = prodName;
        this.prodCategory = prodCategory;
        this.isProdTime = isProdTime;
        this.prodType = prodType;
        this.shiftStartTime = shiftStartTime;
        this.shiftEndTime = shiftEndTime;
        this.organizeCode = organizeCode;
        this.isValid = isValid;
        this.isDeleted = isDeleted;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
    }
}
