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-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_event_d")
@ApiModel(value="RStatEventD对象", description="")
public class RStatEventD 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、监测对象类型ID")
    private String measurementTypeClass;

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

    @ApiModelProperty(value = "发生暂态监测点数（监测点暂态指标超标明细日表）")
    private Integer eventMeasurement;

    @ApiModelProperty(value = "发生暂态监测点数占比（此表的发生暂态监测点数/区域统计表中的区域分类统计日表中的发生暂态的监测点数）")
    private Float eventMeasurementRatio;

    @ApiModelProperty(value = "暂态指标发生次数（监测点暂态指标超标明细日表）")
    private Integer eventCount;

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


}
