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:47
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "EquipmentID",
        "EquipmentClassification",
        "DataTime",
        "EquipRealTimePower",
        "ConnectorPowerInfos"
})
@Data
public class CDSupEquipmentPowerInfo {

    public String pileID;
    /**
     * 充电设备编码
     */
    @JsonProperty("EquipmentID")
    public String equipmentID;
    /**
     * 设备分类
     */
    @JsonProperty("EquipmentClassification")
    public Integer equipmentClassification;
    /**
     * 统计时间
     */
    @JsonProperty("DataTime")
    public String dataTime;
    /**
     * 统计时间
     */
    @Column(columnDefinition = "Decimal(10,1)")
    @JsonProperty("EquipRealTimePower")
    public Double equipRealTimePower;
    /**
     * 充电设备接口功率信息列表
     */
    @JsonProperty("ConnectorPowerInfos")
    List<CDSupConnectorPowerInfo> connectorPowerInfos;

}
