package com.bonus.material.repair.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author syruan
 */
@Data
@ApiModel(value="维修任务")
public class RepairTask {
    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "任务状态")
    private Integer taskStatus;

    @ApiModelProperty(value = "任务类型")
    private Integer taskType;

    /**
     * 维修单号
     */
    @ApiModelProperty(value = "维修单号")
    @Excel(name = "维修单号",sort = 1)
    private String repairCode;
    /**
     * 退料单位名称
     */
    @ApiModelProperty(value = "退料单位名称")
    @Excel(name = "退料单位名称",sort = 2)
    private String backUnit;
    /**
     * 退料工程名称
     */
    @ApiModelProperty(value = "退料工程名称")
    @Excel(name = "退料工程名称",sort = 3)
    private String backPro;
    /**
     * 任务创建人
     */
    @ApiModelProperty(value = "任务创建人")
    private Long createBy;
    /**
     * 任务创建人
     */
    @ApiModelProperty(value = "任务创建人")
    @Excel(name = "任务创建人",sort = 4)
    private String createName;

    /**
     * 任务创建时间
     */
    @ApiModelProperty(value = "任务创建时间")
    @Excel(name = "任务创建时间",sort = 5)
    private String createTime;
    /**
     * 退料单号
     */
    @ApiModelProperty(value = "退料单号")
    @Excel(name = "退料单号",sort = 6)
    private String backCode;
    /**
     * 维修状态
     */
    @ApiModelProperty(value = "维修状态")
    @Excel(name = "维修状态",sort = 7)
    private String repairStatus;
    /**
     * 关键字
     */
    private String keyword;
    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;

    @ApiModelProperty(value = "组织id")
    private Long companyId;

    @ApiModelProperty(value = "协议id")
    private Long agreementId;

    @ApiModelProperty(value = "维修状态编码CODE")
    private String repairStatusCode;

    /**
     * 维修机具类型
     */
    @ApiModelProperty(value = "维修机具类型")
    @Excel(name = "维修机具类型",sort = 8)
    private String type;
    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号",sort = 9)
    private String typeName;
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    @Excel(name = "编码",sort = 10)
    private String code;
    /**
     * 维修总量
     */
    @ApiModelProperty(value = "维修总量")
    @Excel(name = "维修总量",sort = 11)
    private int repairNum;
    /**
     * 维修合格数量
     */
    @ApiModelProperty(value = "维修合格数量")
    @Excel(name = "维修合格数量",sort = 12)
    private int repairedNum;
    /**
     * 维修报废数量
     */
    @ApiModelProperty(value = "报废数量")
    @Excel(name = "维修报废数量",sort = 13)
    private int scrapNum;
    /**
     * 待修状态
     */
    @ApiModelProperty(value = "待修状态")
    @Excel(name = "待修状态",sort = 14)
    private String status;
    /**
     * 维修人员
     */
    @ApiModelProperty(value = "维修人员")
    @Excel(name = "维修人员",sort = 15)
    private String repairer;
    /**
     * 维修时间
     */
    @ApiModelProperty(value = "维修时间")
    @Excel(name = "维修时间",sort = 16)
    private String updateTime;

    /** 导出选中列表 */
    @ApiModelProperty(value = "导出选中列表")
    private List<Long> dataCondition;

    @ApiModelProperty(value = "备注")
    private String remark;
}
