| | |
| | | package com.ruoyi.energy.dto; |
| | | |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | //按日月年汇总统计能耗的传参 |
| | | @Data |
| | | @ApiModel("按日月年汇总统计的能耗数据") |
| | | public class EnergyStatisticsDto { |
| | | |
| | | //开始日期 |
| | | private LocalDate startDate; |
| | | @ApiModelProperty("总耗用量") |
| | | private BigDecimal totalEnergyConsumption; |
| | | |
| | | //结束日期 |
| | | private LocalDate endDate; |
| | | @ApiModelProperty("总能耗费用") |
| | | private BigDecimal totalEnergyCost; |
| | | |
| | | //能耗场景(办公/生产) |
| | | private String type; |
| | | @ApiModelProperty("平均用量") |
| | | private BigDecimal averageConsumption; |
| | | |
| | | @ApiModelProperty("环比变化") |
| | | private BigDecimal changeVite; |
| | | |
| | | @ApiModelProperty("能耗类型占比") |
| | | private List<EnergyConsumptionTypeDto> energyConsumptionTypeProportion; |
| | | |
| | | @ApiModelProperty("能耗明细") |
| | | private List<EnergyCostDto> energyCostDtos; |
| | | |
| | | |
| | | |
| | | |
| | | } |