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 com.xhpc.evcs.dto.EquipmentStatsInfo;
import lombok.Data;

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

/**
 * @author yuyang
 * @date 2023-09-28 10:18
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "StationID",
        "StartTime",
        "EndTime",
        "StationElectricity",
        "EquipmentStatsInfos",
        "StationClassification",
        "OperatorID",
        "EquipmentOnwerID",
        "StationTotalChargeTime",
        "StationTotalChargeNum",
        "StationTotalWarningNum"
})
@Data
public class CDStationStatslnfo {

    /**
     * 充电设ID
     */
    @JsonProperty("StationID")
    public String stationID;
    /**
     * 统计的开始时间
     */
    @JsonProperty("StartTime")
    public String startTime;
    /**
     * 统计结束时间
     */
    @JsonProperty("EndTime")
    public String endTime;
    /**
     * 充电站累计电量
     */
    @Column(columnDefinition = "Decimal(10,1)")
    @JsonProperty("StationElectricity")
    public Double stationElectricity;
    /**
     * 充电设备统计信息列表
     */
    @JsonProperty("EquipmentStatsInfos")
    List<CDSuqEquipmentStatslnfo> equipmentStatsInfo;
    /**
     * 站点分类
     */
    @JsonProperty("StationClassification")
    public Integer stationClassification;
    /**
     * 运营平台ID
     */
    @JsonProperty("OperatorID")
    public String operatorID;
    /**
     * 产权所属单位ID
     */
    @JsonProperty("EquipmentOnwerID")
    public String equipmentOnwerID;

    /**
     * 充电站累计用电时长
     */
    @Column(columnDefinition = "Decimal(10,2)")
    @JsonProperty("StationTotalChargeTime")
    public Double stationTotalChargeTime;
    /**
     * 充电站累计充电次数
     */
    @JsonProperty("StationTotalChargeNum")
    public Integer stationTotalChargeNum;
    /**
     * 充电站累计告警数量
     */
    @JsonProperty("StationTotalWarningNum")
    public Integer stationTotalWarningNum;

}

