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

import com.bonus.common.biz.domain.BaseVO;
import com.bonus.common.biz.domain.BmFileInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @author BONUS
 */
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Data
public class RepairDeviceSummaryVo extends BaseVO {

    @ApiModelProperty(value = "id")
    private Long[] ids;

    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    @ApiModelProperty(value = "类型id")
    private Long typeNameId;

    @ApiModelProperty(value = "设备编码")
    private String code;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "规格型号id")
    private Long typeId;

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

    @ApiModelProperty(value = "设备单位")
    private String unitName;

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

    @ApiModelProperty(value = "设备表主键id")
    private Long[] maIds;

    @ApiModelProperty(value = "维修人员")
    private String[] repairers;

    @ApiModelProperty(value = "维修总量")
    private BigDecimal typeRepairNum;

    @ApiModelProperty(value = "已修数量")
    private BigDecimal typeRepairedNum;

    @ApiModelProperty(value = "维修报废数量")
    private BigDecimal typeScrapNum;

//    @ApiModelProperty(value = "维修费用记录条数")
//    private Integer typeCostRecords;

    @ApiModelProperty(value = "维修费用合计")
    private BigDecimal typeCost;

    @ApiModelProperty(value = "内层物资类型集合")
    private List<RepairDeviceVO> repairDeviceList = new ArrayList<>();

    @ApiModelProperty(value = "报废附件")
    private List<BmFileInfo> fileList;

    private Integer dataStatusNum;

    private String unitValue;

    @ApiModelProperty(value = "待修数量")
    private BigDecimal waitRepairNum;

    private BigDecimal completeNum;
}
