package com.njcn.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/12/15  11:00【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_mp_target_warn_d")
public class RMpTargetWarnDPO {
    /**
     * 监测点ID
     */
    @MppMultiId(value = "measurement_point_id")
    private String measurementPointId;

    /**
     * 生成数据的时间,每日统计一次
     */
    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    /**
     * 是否是有效接入监测点(0:否 1:是)
     */
    @TableField(value = "is_effective")
    private Integer isEffective;

    /**
     * 是否是稳态超标监测点(0:否 1:是)
     */
    @TableField(value = "is_harmonic")
    private Integer isHarmonic;

    /**
     * 是否是发生暂态的监测点(0:否 1:是)
     */
    @TableField(value = "is_event")
    private Integer isEvent;

    /**
     * 是否是告警监测点数(0:否 1:是)
     */
    @TableField(value = "is_warn")
    private Integer isWarn;

    /**
     * 电压偏差是否告警(0:否 1:是)
     */
    @TableField(value = "is_v_dev_warn")
    private Integer isVDevWarn;

    /**
     * 频率偏差是否告警(0:否 1:是)
     */
    @TableField(value = "is_freq_warn")
    private Integer isFreqWarn;

    /**
     * 三相电压不平衡度是否告警(0:否 1:是)
     */
    @TableField(value = "is_unbalance_warn")
    private Integer isUnbalanceWarn;

    /**
     * 谐波电压是否告警(0:否 1:是)
     */
    @TableField(value = "is_v_warn")
    private Integer isVWarn;

    /**
     * 闪变是否告警(0:否 1:是)
     */
    @TableField(value = "is_flicker_warn")
    private Integer isFlickerWarn;

    /**
     * 电压暂降是否告警(0:否 1:是)
     */
    @TableField(value = "is_sag_warn")
    private Integer isSagWarn;

    /**
     * 短时中断是否告警(0:否 1:是)
     */
    @TableField(value = "is_interrupt_warn")
    private Integer isInterruptWarn;
}