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;

/**
 * @author yuyang
 * @date 2023-09-28 10:37
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "ConnectorID",
        "ConnectorElectricity",
        "EquipmentClassification",
        "ConnectorTotalChargeTime",
        "ConnectorTotalChargeNum",
        "ConnectorTotalWarningNum"
})
@Setter
@Getter
public class CDSupConnectorStatslnfo {

    /**
     * 充电设备接口编码
     */
    @JsonProperty("ConnectorID")
    public String connectorID;
    /**
     * 充电设备接口累计电量
     */
    @Column(columnDefinition = "Decimal(10,2)")
    @JsonProperty("ConnectorElectricity")
    public Double connectorElectricity;
    /**
     * 设备分类
     */
    @JsonProperty("EquipmentClassification")
    public Integer equipmentClassification;
    /**
     * 充电设备接口累计充电时长
     */
    @JsonProperty("ConnectorTotalChargeTime")
    public Integer connectorTotalChargeTime;
    /**
     * 充电设备接口累计充电次数
     */
    @JsonProperty("ConnectorTotalChargeNum")
    public Integer connectorTotalChargeNum;
    /**
     * 充电设备接口累计告警
     */
    @JsonProperty("ConnectorTotalWarningNum")
    public Integer connectorTotalWarningNum;


}
