package com.bonus.material.repair.domain.vo;

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

import java.math.BigDecimal;

/**
 * 修饰一览表
 * @Author ma_sh
 * @create 2025/3/26 11:12
 */
@Data
public class RepairHomeInfo {

    /**
     * 增长还是下降 true为增长，false为下降
     */
    private Boolean isIncrease = false;

    /**
     * 同比
     */
    private BigDecimal increase;

    private Integer isExport;

    private Long id;

    private Long taskId;

    private Long typeId;

    @Excel(name = "类型名称")
    private String typeName;

    @Excel(name = "规格型号")
    private String typeModelName;

    @Excel(name = "维修单号")
    private String repairCode;

    @Excel(name = "单位")
    private String unitName;

    @Excel(name = "总接收数量")
    private BigDecimal backNum;

    @Excel(name = "已修数量")
    private BigDecimal repairedNum = BigDecimal.ZERO;

    /**
     * 在修数量
     */
    @Excel(name = "在修数量")
    private BigDecimal repairingNum = BigDecimal.ZERO;

    @Excel(name = "报废数量")
    private BigDecimal scrapNum = BigDecimal.ZERO;

    /**
     * 试验数量
     */
    @Excel(name = "试验数量")
    private BigDecimal testNum = BigDecimal.ZERO;

    /**
     * 更换配件数量
     */
    @Excel(name = "更换配件量")
    private BigDecimal changePartNum = BigDecimal.ZERO;

    /**
     * 收费配件金额
     */
    @Excel(name = "收费配件金额(元)")
    private BigDecimal amountPartPrice = BigDecimal.ZERO;

    /**
     * 不收费配件金额
     */
    @Excel(name = "不收费配件金额(元)")
    private BigDecimal noAmountPartPrice = BigDecimal.ZERO;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

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