package com.bonus.material.repair.domain;

import com.bonus.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author syruan
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value="维修任务明细")
public class RepairTaskDetails extends BaseEntity {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 任务ID
     */
    @ApiModelProperty(value = "任务ID")
    private String taskId;
    /**
     * 机具ID
     */
    @ApiModelProperty(value = "机具ID")
    private String maId;
    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称")
    private String typeName;

    /**
     * 规格类型id
     */
    @ApiModelProperty(value = "规格型号id")
    private String typeId;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号")
    private String type;

    @ApiModelProperty(value = "物资单位")
    private String unitName;

    @ApiModelProperty(value = "管理模式")
    private Integer manageType;

    /**
     * 编码
     */
    @ApiModelProperty(value = "设备编码")
    private String code;
    /**
     * 维修总量
     */
    @ApiModelProperty(value = "维修总量")
    private int repairNum;

    /**
     * 维修方式: 1内部 2外部返厂 3报废
     */
    @ApiModelProperty(value = "维修方式: 1内部 2外部 3报废")
    private Integer repairType;

    /**
     * 维修合格数量
     */
    @ApiModelProperty(value = "维修合格数量")
    private int repairedNum;
    /**
     * 维修报废数量
     */
    @ApiModelProperty(value = "维修报废数量")
    private int scrapNum;
    /**
     * 待修状态
     */
    @ApiModelProperty(value = "待修状态")
    private String status;

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

    @ApiModelProperty(value = "退料id")
    private Long backId;

    @ApiModelProperty(value = "维修人员")
    private String repairer;

    @ApiModelProperty(value = "关键字")
    private String keyword;
}
