package com.njcn.device.biz.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/4/25 11:02
 */
@Data
public class PollutionLineDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    private String pid;

    private String pids;

    @ApiModelProperty("监测对象id")
    private String objId;

    @ApiModelProperty("电网标志 0电网侧 1用户侧")
    private Integer powerFlag;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("供电公司")
    private String powerCompany;

    @ApiModelProperty("变电站")
    private String substation;

    @ApiModelProperty("变电站id")
    private String substationId;

    @ApiModelProperty("变电站排序")
    private Integer substationSort;

    @ApiModelProperty("母线")
    private String busBar;

    @ApiModelProperty("数据")
    private Double data = 3.14159;

    @Data
    public static class PVPollution extends PollutionLineDTO{
        @ApiModelProperty("变电站电压等级")
        private String powerVoltageLevel;
    }

}
