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.time.LocalDate;
import java.util.Date;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

/**
 * 
 * Description:
 * Date: 2023/8/4  15:49【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_stat_load_type_m")
public class RStatLoadTypeMPO {
    /**
     * 单位ID
     */
    @MppMultiId(value = "org_no")
    private String orgNo;

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

    /**
     * 四类典型干扰源类型(风电、光伏、其他非线性负荷、电铁)
     */
    @MppMultiId(value = "load_type")
    private String loadType;

    /**
     * 有效接入监测点数
     */
    @TableField(value = "effective_measurement")
    private Integer effectiveMeasurement;

    /**
     * 日均谐波电压超标点占比
     */
    @TableField(value = "v_average")
    private Double vAverage;

    /**
     * 谐波电压超标点数
     */
    @TableField(value = "v_count")
    private Integer vCount;

    /**
     * 日均谐波电流超标点占比
     */
    @TableField(value = "i_average")
    private Double iAverage;

    /**
     * 谐波电流超标点数
     */
    @TableField(value = "i_count")
    private Integer iCount;

    /**
     * 日均三相电压不平衡度超标点占比
     */
    @TableField(value = "unbalance_average")
    private Double unbalanceAverage;

    /**
     * 三相电压不平衡度超标点数
     */
    @TableField(value = "unbalance_count")
    private Integer unbalanceCount;

    /**
     * 日均负序电流超标点占比
     */
    @TableField(value = "i_neg_average")
    private Double iNegAverage;

    /**
     * 负序电流超标点数
     */
    @TableField(value = "i_neg_count")
    private Integer iNegCount;

    /**
     * 日均闪变超标点占比
     */
    @TableField(value = "flicker_average")
    private Double flickerAverage;

    /**
     * 闪变超标点数
     */
    @TableField(value = "flicker_count")
    private Integer flickerCount;
}