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.io.Serializable;
import java.time.LocalDate;

/**
 * @author qijian
 * @TableName r_mp_plt_report_d
 */
@TableName(value ="r_mp_plt_report_d")
@Data
public class RMpPltReportD implements Serializable {
    /**
     * 监测点ID
     */
    @MppMultiId(value = "measurement_point_id")
    private String measurementPointId;

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

    /**
     * 相别："A" "B" "C" "ABC" "T"  配网部分相别的数据采用T标志存储
     */
    @MppMultiId(value = "phase")
    private String phase;

    /**
     * 长时间闪变值-最大值
     */
    @TableField(value = "long_time_flashing_max")
    private Double longTimeFlashingMax;

    /**
     * 长时间闪变值-最小值
     */
    @TableField(value = "long_time_flashing_min")
    private Double longTimeFlashingMin;

    /**
     * 长时间闪变值-平均值
     */
    @TableField(value = "long_time_flashing_avg")
    private Double longTimeFlashingAvg;

    /**
     * 长时间闪变值-95值
     */
    @TableField(value = "long_time_flashing_95")
    private Double longTimeFlashing95;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}