package com.xhpc.evcs.cdjgpc.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;

import javax.persistence.Column;
import java.util.List;

/**
 * @author yuyang
 * @date 2023-09-28 10:44
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "OperatorlD",
        "EquipmentOnwerID",
        "StationID",
        "StationClassification",
        "DataTime",
        "StationRealTimePower",
        "EquipmentPowerInfos"
})
@Data
public class CDSupStationPowerInfo {
    /**
     * 充电设备接口编码
     */
    @JsonProperty("OperatorlD")
    public String operatorlD;
    /**
     * 产权所属单位ID
     */
    @JsonProperty("EquipmentOnwerID")
    public String equipmentOnwerID;
    /**
     * 充电站
     */
    @JsonProperty("StationID")
    public String stationID;
    /**
     * 站点分类
     */
    @JsonProperty("StationClassification")
    public Integer stationClassification;
    /**
     * 统计时间
     */
    @JsonProperty("DataTime")
    public String dataTime;
    /**
     * 充电站实时功率
     */
    @Column(columnDefinition = "Decimal(10,1)")
    @JsonProperty("StationRealTimePower")
    public Double stationRealTimePower;
    /**
     * 充电设备功率信息列表
     */
    @JsonProperty("EquipmentPowerInfos")
    List<CDSupEquipmentPowerInfo> equipmentPowerInfos;
}
