package com.njcn.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author rui.wu
 * @since 2022-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_org_busbar_voltage_y")
@ApiModel(value="RStatOrgBusbarVoltageY对象", description="")
public class RStatOrgBusbarVoltageY implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位ID")
//    @TableId(value = "org_no", type = IdType.ASSIGN_ID)
    @MppMultiId
    private String orgNo;

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

    @ApiModelProperty(value = "母线ID")
    @MppMultiId
    private String busbarId;

    @ApiModelProperty(value = "有效接入监测点总数量")
    private Integer measurementCount;

    @ApiModelProperty(value = "日均谐波电压超标-占比")
    private Float vAverage;

    @ApiModelProperty(value = "累计谐波电压超标-占比")
    private Float vAccrued;

    @ApiModelProperty(value = "日均三相电压不平衡超标-占比")
    private Float unbalanceAverage;

    @ApiModelProperty(value = "累计三相电压不平衡超标-占比")
    private Float unbalanceAccrued;

    @ApiModelProperty(value = "日均闪变超标-占比")
    private Float flickerAverage;

    @ApiModelProperty(value = "累计闪变超标-占比")
    private Float flickerAccrued;


}
