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

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/6/28 13:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MonitorExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "省公司", width = 25, needMerge = true)
    private String provinceCompany;

    @Excel(name = "地市公司", width = 25, needMerge = true)
    private String cityCompany;

    @Excel(name = "监测点名称", width = 25, needMerge = true)
    private String lineName;

    @Excel(name = "干扰源类型", width = 25, needMerge = true)
    private String loadType;

    @Excel(name = "监测点对象名称", width = 25, needMerge = true)
    private String lineObjectName;

    @Excel(name = "监测点电压等级", width = 25, needMerge = true)
    private String lineScale;

    @Excel(name = "变电站名称", width = 25, needMerge = true)
    private String subName;

    @Excel(name = "变电站电压等级", width = 25, needMerge = true)
    private String subScale;

    @Excel(name = "超标天数", width = 25, needMerge = true)
    private Integer overDay;

    @ExcelCollection(name = "各项指标超标天数")
    private List<OverLimitDays> overLimitDays;

}
