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.Getter;
import lombok.Setter;

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

/**
 * @author yuyang
 * @date 2023-09-28 10:32
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "EquipmentID",
        "EquipmentClassification",
        "EquipmentElectncity",
        "EquipmentTotalChargeTime",
        "EquipmentTotalChargeNum",
        "EquipmentTotalWarningNum",
        "ConnectorStatsInfos"
})
@Setter
@Getter
public class CDSuqEquipmentStatslnfo {

    /**
     * 充电设备编码
     */
    @JsonProperty("EquipmentID")
    public String equipmentID;
    /**
     * 设备分类
     */
    @JsonProperty("EquipmentClassification")
    public Integer equipmentClassification;
     /**
     * 充电设备累计电量
     */
    @Column(columnDefinition = "Decimal(10,2)")
    @JsonProperty("EquipmentElectncity")
    public Double equipmentElectncity;
    /**
     * 充电设备累计充电时长
     */
    @JsonProperty("EquipmentTotalChargeTime")
    public Integer equipmentTotalChargeTime;
    /**
     * 充电累计充电次数
     */
    @JsonProperty("EquipmentTotalChargeNum")
    public Integer equipmentTotalChargeNum;
    /**
     * 充电设备累计告警数量
     */
    @JsonProperty("EquipmentTotalWarningNum")
    public Integer equipmentTotalWarningNum;
    /**
     * 充电设备接口运行统计列表
     */
    @JsonProperty("ConnectorStatsInfos")
    List<CDSupConnectorStatslnfo> connectorStatsInfos;

}
