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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * Description:
 * Date: 2023/6/6  9:10【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_stat_harmonic_voltage_d")
public class RStatHarmonicVoltageD {
    /**
     * 单位ID
     */
    @TableId(value = "org_no", type = IdType.ASSIGN_UUID)
    private String orgNo;

    /**
     * 生成数据的时间,每月统计一次
     */
    @TableId(value = "data_date", type = IdType.ASSIGN_UUID)
    private Date dataDate;

    /**
     * 监测对象类型ID
     */
    @TableId(value = "measurement_type_class", type = IdType.ASSIGN_UUID)
    private String measurementTypeClass;

    /**
     * 稳态指标类型Id，字典表ID
     */
    @TableId(value = "harmonic_type", type = IdType.ASSIGN_UUID)
    private String harmonicType;

    /**
     * 电压等级Id，字典表ID
     */
    @TableId(value = "voltage_type", type = IdType.ASSIGN_UUID)
    private String voltageType;

    /**
     * 数据类型,字典表（01：主网测点  02：配网测点）
     */
    @TableId(value = "data_type", type = IdType.ASSIGN_UUID)
    private String dataType;

    /**
     * 超标监测点数
     */
    @TableField(value = "over_limit_measurement_average")
    private Integer overLimitMeasurementAverage;

    /**
     * 超标监测点数占比
     */
    @TableField(value = "over_limit_measurement_ratio_average")
    private Float overLimitMeasurementRatioAverage;
}