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

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

import java.util.ArrayList;
import java.util.List;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @CreateTime: 2024-11-15  13:26
 * @Description: 维修设备列表返回VO
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class RepairDeviceListVo extends BaseVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "任务ID")
    private Integer 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 maId;

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

    @ApiModelProperty(value = "维修总量")
    private int repairNum;

    @ApiModelProperty(value = "已修数量")
    private int repairedNum;

    @ApiModelProperty(value = "维修报废数量")
    private int scrapNum;

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