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

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Reference:
 * @Author: wangjie
 * @CreateDate: 2019\11\15 10:12
 * @Modify:
 **/
@Data
@Api("产量统计MODEL")
public class EpOutPutStatisticsModel implements Serializable {

    private static final long serialVersionUID = -1545535307751062460L;

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

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

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

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

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

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

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

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

    @ApiParam("工单开始时间")
    private String orderStartTime;

    @ApiParam("产量")
    private Double qty;

    @ApiParam("工单计划数量")
    private Double planQty;

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

    @ApiParam("工单完工数量")
    private Double completeQty;

    @ApiParam("工单修改时间")
    private String modifyDatetime;

    @ApiParam("工单状态")
    private Integer workOrderStatus;

    @ApiParam("生产工单号集合")
    private List<String> workOrderNoList;

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

    public EpOutPutStatisticsModel(String workCenterCode, String shiftCode, String workTime, String workOrderNo, String partNo, String partNameRdd, String startTime, String endTime, String orderStartTime, Double qty, Double planQty, String remark, Double completeQty, String modifyDatetime, Integer workOrderStatus) {
        this.workCenterCode = workCenterCode;
        this.shiftCode = shiftCode;
        this.workTime = workTime;
        this.workOrderNo = workOrderNo;
        this.partNo = partNo;
        this.partNameRdd = partNameRdd;
        this.startTime = startTime;
        this.endTime = endTime;
        this.orderStartTime = orderStartTime;
        this.qty = qty;
        this.planQty = planQty;
        this.remark = remark;
        this.completeQty = completeQty;
        this.modifyDatetime = modifyDatetime;
        this.workOrderStatus = workOrderStatus;
    }

    public EpOutPutStatisticsModel() {
    }
}
