package com.njcn.event.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_m")
@ApiModel(value="RStatSubstationM对象", description="")
public class RStatSubstationM 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 Integer harmonicCount;

    @ApiModelProperty(value = "频率偏差累计超标天数")
    private Float freqOverDay;

    @ApiModelProperty(value = "频率偏差累计超标监测点数")
    private Integer freqCount;

    @ApiModelProperty(value = "电压偏差累计超标天数")
    private Float vDevOverDay;

    @ApiModelProperty(value = "电压偏差累计超标监测点数")
    private Integer vDevCount;

    @ApiModelProperty(value = "谐波电压累计超标天数")
    private Float vOverDay;

    @ApiModelProperty(value = "谐波电压累计超标监测点数")
    private Integer vCount;

    @ApiModelProperty(value = "谐波电流累计超标天数")
    private Float iOverDay;

    @ApiModelProperty(value = "谐波电流累计超标监测点数")
    private Integer iCount;

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

    @ApiModelProperty(value = "三相电压不平衡累计超标监测点数")
    private Integer unbalanceCount;

    @ApiModelProperty(value = "负序电流累计超标天数")
    private Float iNegOverDay;

    @ApiModelProperty(value = "负序电流累计超标监测点数")
    private Integer iNegCount;

    @ApiModelProperty(value = "闪变累计超标天数")
    private Float flickerOverDay;

    @ApiModelProperty(value = "闪变累计超标监测点数")
    private Integer flickerCount;

    @ApiModelProperty(value = "间谐波电压累计超标天数")
    private Float inuharmOverDay;

    @ApiModelProperty(value = "间谐波电压累计超标监测点数")
    private Integer inuharmCount;

    @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;


}
