package com.njcn.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 监测点告警统计-月表
 * </p>
 *
 * @author xuyang
 * @since 2023-05-09
 */
@Data
@TableName("r_mp_monitor_alarm_count_m")
public class RMpMonitorAlarmCountMPO implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 监测点Id
     */
    @MppMultiId(value = "measurement_point_id")
    private String measurementPointId;

    /**
     * 时间
     */
    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    /**
     * 电压偏差告警情况(0:否 1:是)
     */
    private Integer vdevAlarmInfo;

    /**
     * 电压偏差严重度
     */
    private Double vdevSeverity;

    /**
     * 频率偏差告警情况(0:否 1:是)
     */
    private Integer freqAlarmInfo;

    /**
     * 频率偏差严重度
     */
    private Double freqSeverity;

    /**
     * 三相电压不平衡度告警情况(0:否 1:是)
     */
    private Integer unbalanceAlarmInfo;

    /**
     * 三相电压不平衡严重度
     */
    private Double unbalanceSeverity;

    /**
     * 谐波电压告警情况(0:否 1:是)
     */
    private Integer vAlarmInfo;

    /**
     * 谐波电压严重度
     */
    private Double vSeverity;

    /**
     * 闪变告警情况(0:否 1:是)
     */
    private Integer flickerAlarmInfo;

    /**
     * 闪变严重度
     */
    private Double flickerSeverity;

    /**
     * 电压暂降告警情况(0:否 1:是)
     */
    private Integer sagAlarmInfo;

    /**
     * 电压暂降严重度
     */
    private Double sagSeverity;

    /**
     * 短时中断告警情况(0:否 1:是)
     */
    private Integer interruptAlarmInfo;

    /**
     * 短时中断严重度
     */
    private Double interruptSeverity;

    /**
     * 稳态指标评级结果（0 较差 1中等 2较好）
     */
    private Integer harmonicTypeGrade;

    /**
     * 暂态指标评级结果（0 较差 1中等 2较好）
     */
    private Integer eventTypeGrade;


}
