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.LocalDateTime;

/**
 * <p>
 * 区域分类统计年表
 * </p>
 *
 * @author rui.wu
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_org_y")
@ApiModel(value="RStatOrgY对象", description="区域分类统计年表")
public class RStatOrgY implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位ID")
    @TableId(value = "org_no", type = IdType.ASSIGN_ID)
    private String orgNo;

    @ApiModelProperty(value = "生成数据的时间,每年统计一次")
    private LocalDateTime dataDate;

    @ApiModelProperty(value = "监测点类别ID、监测对象类型ID")
    private String measurementTypeClass;

    @ApiModelProperty(value = "总监测点数")
    private Integer allCount;

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

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

    @ApiModelProperty(value = "日均稳态超标监测点数")
    private Float overLimitMeasurementAverage;

    @ApiModelProperty(value = "累计稳态超标监测点数")
    private Integer overLimitMeasurementAccrued;

    @ApiModelProperty(value = "日均稳态超标监测点数占比")
    private Float harmonicMeasurementRatioAverage;

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

    @ApiModelProperty(value = "频率偏差合格率")
    private Float freqPassRate;

    @ApiModelProperty(value = "电压偏差合格率")
    private Float vDevPassRate;

    @ApiModelProperty(value = "闪变合格率")
    private Float flickerPassRate;

    @ApiModelProperty(value = "日均监测到暂态指标的监测点数")
    private Float eventMeasurementAverage;

    @ApiModelProperty(value = "累计监测到暂态指标的监测点数")
    private Integer eventMeasurementAccrued;

    @ApiModelProperty(value = "日均暂态超标监测点数占比")
    private Float eventMeasurementRatioAverage;

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

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

    @ApiModelProperty(value = "应设点数")
    private Integer shouldCount;

    @ApiModelProperty(value = "告警监测点数")
    private Integer warnCount;

    @ApiModelProperty(value = "数据类型,字典表（01：主网测点  02：配网测点）")
    private String dataType;


}
