package com.zksy.visualization.domain.response;

import com.dahuatech.icc.oauth.http.IccResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 用能统计
 * @date 2024/12/17 09:24:57
 */
@Data
public class UsingEnergyResponse {

    @ApiModelProperty(value = "车流明细", required = true)
    private List<EnergyInfo> value;

    @Data
    public static class EnergyInfo {
        @ApiModelProperty(value = "节点名称")
        private String nodeName;

        @ApiModelProperty(value = "耗能")
        private List<String> electricityConsumption;

        private List<String> lastElectricityConsumption;

        @ApiModelProperty(value = "环比")
        private List<String> monthRation;

        @ApiModelProperty(value = "同比")
        private List<String> yearRation;

        @ApiModelProperty(value = "均值")
        private String avg;
    }
}
