package com.bonus.material.repair.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 维修详细对象 repair_apply_details
 *
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class RepairApplyDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 机具ID */
    @Excel(name = "机具ID")
    @ApiModelProperty(value = "机具ID")
    private Long maId;

    /** 规格ID */
    @Excel(name = "规格ID")
    @ApiModelProperty(value = "规格ID")
    private Long typeId;

    /** 维修总量 */
    @Excel(name = "维修总量")
    @ApiModelProperty(value = "维修总量")
    private BigDecimal repairNum;

    /** 维修合格数量 */
    @Excel(name = "维修合格数量")
    @ApiModelProperty(value = "维修合格数量")
    private BigDecimal repairedNum;

    /**
     * 本次维修合格数量
     */
    @ApiModelProperty(value = "本次维修合格数量")
    private BigDecimal thisRepairedNum;

    /** 维修报废数量 */
    @Excel(name = "维修报废数量")
    @ApiModelProperty(value = "维修报废数量")
    private BigDecimal scrapNum;

    /**
     * 本次维修报废数量
     */
    @ApiModelProperty(value = "本次维修报废数量")
    private BigDecimal thisScrapNum;

    /** 0未完成，1已完成 */
    @Excel(name = "0未完成，1已完成")
    @ApiModelProperty(value = "0未完成，1已完成")
    private String status;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private Long companyId;

    /** 退料ID */
    @Excel(name = "退料ID")
    @ApiModelProperty(value = "退料ID")
    private Long backId;

    /** 维修人 */
    @Excel(name = "维修人")
    @ApiModelProperty(value = "维修人")
    private String repairer;

    @ApiModelProperty(value = "前任务ID")
    private Long preTaskId;
}
