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

import cn.estsh.i3plus.ext.mes.pojo.model.jx.SxDynamicAttributeModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author wangjie
 * @version 1.0
 * @date 2021/1/15 15:32
 **/
@Data
@ApiModel("工程不良实绩报表Model")
public class ProjectBadPerformanceReportModel implements Serializable {

    private static final long serialVersionUID = 1258370710377205322L;

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

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

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

    @ApiParam("误判数")
    private Double misjudgeQty;

    @ApiParam("误判率")
    private String misjudgeRate;

    @ApiParam("部品不良数")
    private Double partsBadQty;

    @ApiParam("部品不良率")
    private String partsBadRate;

    @ApiParam("作业不良数")
    private Double taskBadQty;

    @ApiParam("作业不良率")
    private String taskBadRate;

    @ApiParam("总不良率")
    private String amountBadRate;

    @ApiParam("table动态列名")
    private List<SxDynamicAttributeModel> attributeList = new ArrayList<>();

    @ApiParam("table数据")
    private List<Map<String, Object>> dataList;

}
