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/28  14:58【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */

/**
    * 监测点暂态指标超标明细季表
    */
@Data
@TableName(value = "r_mp_event_detail_q")
public class RMpEventDetailQPO {
    /**
     * 监测点ID
     */
    @MppMultiId(value = "measurement_point_id")
    private String measurementPointId;

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

    /**
     * 电压暂升发生次数
     */
    @TableField(value = "swell_times")
    private Integer swellTimes;

    /**
     * 电压暂降发生次数
     */
    @TableField(value = "sag_times")
    private Integer sagTimes;

    /**
     * 短时中断发生次数
     */
    @TableField(value = "interrupt_times")
    private Integer interruptTimes;
}
