package com.njcn.prepare.harmonic.pojo.mysql.po.line;

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: 2023/2/28  15:39【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_mp_pass_rate_d")
public class RMpPassRateDPO {
    /**
     * 监测点ID
     */
    @MppMultiId(value = "measurement_point_id")
    private String measurementPointId;

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

    /**
     * 有效监测时长
     */
    @TableField(value = "effective_time")
    private Integer effectiveTime;

    /**
     * 频率偏差超标时长
     */
    @TableField(value = "freq_time")
    private Integer freqTime;

    /**
     * 电压偏差超标时长
     */
    @TableField(value = "v_dev_time")
    private Integer vDevTime;

    /**
     * 闪变超标时长
     */
    @TableField(value = "flicker_time")
    private Integer flickerTime;


}