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;

/**
 * @DESCRIPTION:
 * @USER: wangjie
 * @DATE: 2022-11-01 15:54
 */
@Data
@ApiModel("嘉兴节拍报表MODEL")
public class JxCellTaktReportModel implements Serializable {

    private static final long serialVersionUID = -4833453374872130256L;

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

    @ApiParam("工位维度")
    public Integer dimension;

    @ApiParam("查询时间")
    public String createDatetimeStart;

    @ApiParam("查询时间")
    public String createDatetimeEnd;

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

    @ApiParam("工位代码")
    public String workCellCode;

    @ApiParam("日期")
    public String day;

    @ApiParam("时间")
    public String time;

    @ApiParam("次数")
    public Integer index;

    @ApiParam("实际节拍")
    private Double workTakt;

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

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

    @ApiParam("标准工数")
    private Double standardWork;

    @ApiParam("标准节拍/最小节拍平均")
    private Double workTaktCalc;

    @ApiParam("作业人数")
    private Double workerQty;

    @ApiParam("最大节拍")
    private Double workTaktMax;

    @ApiParam("最小节拍")
    private Double workTaktMin;

    public JxCellTaktReportModel() {}

    public JxCellTaktReportModel(String organizeCode, String workCenterCode, String workCellCode) {
        this.organizeCode = organizeCode;
        this.workCenterCode = workCenterCode;
        this.workCellCode = workCellCode;
    }
}
