package com.njcn.device.pms.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class StatationStatVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "powerId", value = "电站编号")
    private String powerId;

    @ApiModelProperty(name = "powerName", value = "电站名称")
    private String powerName;

    @ApiModelProperty(name = "orgId", value = "单位id")
    private String orgId;

    @ApiModelProperty(name = "orgId", value = "单位id")
    private String orgName;

    @ApiModelProperty(name = "shouldBeNum", value = "应设点数量")
    private Integer shouldBeNum;

    @ApiModelProperty(name = "voltageLevel", value = "电压等级")
    private String voltageLevel;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private Double longitude;

    /**
     * 维度
     */
    @ApiModelProperty(value = "维度")
    private Double latitude;

    /**
     *  关联中台的电站
     */
    @ApiModelProperty(value = "关联中台的电站")
    private String midStationId;

    @ApiModelProperty(value = "关联中台的电站名称")
    private String midStationName;



    @Data
    @ApiModel(value = "变电站数据入参(冀北)")
    public static class StatationParam{


        @ApiModelProperty(name = "orgIds",value = "单位名称")
        private String orgName;

        @ApiModelProperty(name = "num",value = "变电站数量")
        private Long num;

    }
    @Data
    public static class Curve{

        @ApiModelProperty(name = "time",value = "发生时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date time;

        @ApiModelProperty(name = "num",value = "数值")
        private BigDecimal num;

    }

}
