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

import cn.estsh.i3plus.ext.mes.pojo.util.MesExtEnumUtil;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文件描述
 *
 * @author xiangming.liao
 * @date 2021年06月15日 14:10
 */
@Data
@Api("修理品票明细报表导出模板")
@NoArgsConstructor
@AllArgsConstructor
public class ExcelRepairDetail {

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

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

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

    @ApiParam("本体条码")
    private String serialNumber;

    @ApiParam("不良项目")
    private String defectCode;

    @ApiParam("不良原因")
    private String dcCode;

    @ApiParam("维修措施")
    private String repairCode;

    @ApiParam("不良分类")
    @AnnoOutputColumn(refClass = MesExtEnumUtil.MES_REPAIR_JUDGE.class, refForeignKey = "value", value = "description")
    private Integer repairJudge;

    @ApiParam("不良分类")
    private String repairJudgeName;
}
