EquipmentCostAnalysisVO.java 1.5 KB
package com.skua.modules.equipment.vo;

import lombok.Data;

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

/**
 * @author sonin
 * @date 2021/12/2 10:14
 */
@Data
public class EquipmentCostAnalysisVO {

    /**
     * 实际维修成本
     */
    private String actualRepairCost = "0.00";

    /**
     * 年度维修预算
     */
    private String yearBudget = "0.00";

    /**
     * 备件消耗情况
     */
    private List<Charts> firstCharts;

    private List<Charts> secondCharts;

    private List<DepartCost> departCostList;

    private List<EquipmentFault> equipmentFaultList;

    @Data
    public static class Charts {

        private Long num = 0L;

        private BigDecimal cost = new BigDecimal(0.00);

        private String departId_dictText;

        private String faultType_dictText;

        private String sparepartType_dictText;
    }

    @Data
    public static class DepartCost {

        private String departId_dictText;

        private BigDecimal planCost = new BigDecimal(0.00);

        private BigDecimal sparepartCost = new BigDecimal(0.00);

        private BigDecimal commissionCost = new BigDecimal(0.00);

        private BigDecimal totalCost = new BigDecimal(0.00);

    }

    @Data
    public static class EquipmentFault {

        private String equipmentName;

        private Long equipmentFaultTimes;

        private String installPosition;

        private String departId_dictText;

        private String manufacturer;

    }

}