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-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_event_voltage_m")
@ApiModel(value="RStatEventVoltageM对象", description="")
public class RStatEventVoltageM 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 LocalDate dataDate;

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

    @ApiModelProperty(value = "暂态指标类型Id，字典表ID")
    private String eventType;

    @ApiModelProperty(value = "电压等级Id，字典表ID")
    private String voltageType;

    @ApiModelProperty(value = "日均发生暂态监测点数")
    private Float eventMeasurementAverage;

    @ApiModelProperty(value = "累计发生暂态监测点数")
    private Integer eventMeasurementAccrued;

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

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

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

    @ApiModelProperty(value = "累计发生暂态监测点数占比")
    private Float eventMeasurementRatioAccrued;

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


}
