package com.njcn.harmonic.pojo.excel.pollution;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SubstationPollution implements Serializable {

    /**
     * 供电公司名称
     */
    @Excel(name = "供电公司", width = 30, needMerge = true)
    @ApiModelProperty("供电公司")
    private String gdName;

    /**
     * 供电公司名称
     */
    @Excel(name = "供电公司", width = 30, needMerge = true)
    @ApiModelProperty("供电公司")
    private String subVoltage;
    /**
     * 所属变电站
     */
    @Excel(name = "变电站电压等级", width = 30, needMerge = true)
    @ApiModelProperty("变电站电压等级")
    private String subStationName;

    /**
     * 电站污染值
     */
    @Excel(name = "电站谐波污染值", width = 25, needMerge = true)
    @ApiModelProperty("电站谐波污染值")
    private String subVStationValue;

    @Excel(name = "项目名称", width = 25, needMerge = true)
    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("污染值")
    private Double subValue;


    /**
     * 电网侧&非电网侧
     * name不要赋值
     */
    @ExcelCollection(name = "")
    private List<PowerFlagPollution> powerFlagPollutionList;

}
