package com.njcn.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author rui.wu
 * @since 2022-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_substation_y")
@ApiModel(value="RStatSubstationY对象", description="")
public class RStatSubstationY implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "生成数据的时间,每年统计一次")
    @TableId(value = "data_date", type = IdType.ASSIGN_ID)
    private LocalDate dataDate;

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

    @ApiModelProperty(value = "日均有效接入监测点数")
    private Float effectiveMeasurementAverage;

    @ApiModelProperty(value = "累计有效接入监测点数")
    private Integer effectiveMeasurementAccrued;

    @ApiModelProperty(value = "稳态平均超标天数")
    private Float harmonicOverDay;

    @ApiModelProperty(value = "频率偏差平均超标天数")
    private Float freqAverageOverDay;

    @ApiModelProperty(value = "电压偏差平均超标天数")
    private Float vDevAverageOverDay;

    @ApiModelProperty(value = "谐波电压平均超标天数")
    private Float vAverageOverDay;

    @ApiModelProperty(value = "谐波电流平均超标天数")
    private Float iAverageOverDay;

    @ApiModelProperty(value = "三相电压不平衡平均超标天数")
    private Float unbalanceAverageOverDay;

    @ApiModelProperty(value = "负序电流平均超标天数")
    private Float iNegAverageOverDay;

    @ApiModelProperty(value = "闪变平均超标天数")
    private Float flickerAverageOverDay;

    @ApiModelProperty(value = "间谐波电压平均超标天数")
    private Float inuharmAverageOverDay;

    @ApiModelProperty(value = "暂态指标发生次数")
    private Integer eventCount;

    @ApiModelProperty(value = "暂态指标发生频次")
    private Float eventFreq;

    @ApiModelProperty(value = "电压暂降发生次数")
    private Integer sagCount;

    @ApiModelProperty(value = "电压暂降发生频次")
    private Float sagFreq;

    @ApiModelProperty(value = "电压暂升发生次数")
    private Integer swellCount;

    @ApiModelProperty(value = "电压暂升发生频次")
    private Float swellFreq;

    @ApiModelProperty(value = "短时中断发生次数")
    private Integer interruptCount;

    @ApiModelProperty(value = "短时中断发生频次")
    private Float interruptFreq;


}
