package com.bonus.material.repair.domain;

import java.math.BigDecimal;
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;

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


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

    /** ID */
    private Long id;

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

    /** 维修ID */
    @Excel(name = "维修ID")
    @ApiModelProperty(value = "维修ID")
    private Long repairId;

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

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

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

    /** 维修费用 */
    @Excel(name = "维修费用")
    @ApiModelProperty(value = "维修费用")
    private BigDecimal costs;

    /** 类型（0不收费，1收费） */
    @Excel(name = "类型", readConverterExp = "0=不收费，1收费")
    private String partType;

    /** 0未审核，1已审核，2已驳回 */
    @Excel(name = "0未审核，1已审核，2已驳回")
    @ApiModelProperty(value = "0未审核，1已审核，2已驳回")
    private String status;

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

    /** 委外维修费用 */
    @Excel(name = "委外维修费用")
    @ApiModelProperty(value = "委外维修费用")
    private BigDecimal outSourceCosts;

    /** 维修方式（1内部2返厂3报废） */
    @Excel(name = "维修方式", readConverterExp = "1=内部2返厂3报废")
    private String repairType;


}
