package com.njcn.harmonic.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * <p>
 *
 * </p>
 *
 * @author rui.wu
 * @since 2022-10-18
 */
@Data
public class RStatOrgIndexVO  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位id")
    private String orgNo;

    @ApiModelProperty(value = "单位名称")
    private String orgName;

    @ApiModelProperty(value = "单位排序")
    private Integer sort;

    @ApiModelProperty(value = "监测点ID")
    private String measurementPointId;

    @ApiModelProperty(value = "监测点名称")
    private String measurementPointName;

    @ApiModelProperty(value = "监测点电压等级名称")
    private String monitorVoltageName;

    @ApiModelProperty(value = "电站名称")
    private String powerrName;

    @ApiModelProperty(value = "频率偏差合格率月")
    private Float freqPassRate;

    @ApiModelProperty(value = "电压偏差合格率月")
    private Float vDevPassRate;

    @ApiModelProperty(value = "闪变合格率月")
    private Float flickerPassRate;

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class RStatOrgIndexInfoVO extends RStatOrgIndexVO {

        @ApiModelProperty(value = "在线监测点数")
        private Integer allCount;

        @ApiModelProperty(value = "频率偏差合格率年")
        private Float freqPassRateYear;

        @ApiModelProperty(value = "电压偏差合格率年")
        private Float vDevPassRateYear;

        @ApiModelProperty(value = "闪变合格率年")
        private Float flickerPassRateYear;


    }

}
