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 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-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_stat_harmonic_y")
@ApiModel(value="RStatHarmonicY对象", description="")
public class RStatHarmonicY implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

    @ApiModelProperty(value = "监测点类别ID、监测对象类型ID")
    private String measurementTypeClass;

    @ApiModelProperty(value = "稳态指标类型Id，字典表ID")
    private String harmonicType;

    @ApiModelProperty(value = "日均超标监测点数（根据 日表的超标监测点数 取平均值）")
    private Float overLimitMeasurementAverage;

    @ApiModelProperty(value = "累计超标监测点数（监测点指标统计明细日表 统计）")
    private Integer overLimitMeasurementAccrued;

    @ApiModelProperty(value = "平均超标天数（月表的累计超标天数之和/月表的累计超标监测点数之和）")
    private Float averageOverDay;

    @ApiModelProperty(value = "日均超标监测点数占比（根据 日表的超标监测点数占比 取平均值）")
    private Float overLimitMeasurementRatioAverage;

    @ApiModelProperty(value = "累计超标监测点数占比（此表的累计超标监测点数/区域统计表中的区域分类统计季表中的累计有效接入监测点数）")
    private Float overLimitMeasurementRatioAccrued;

    @ApiModelProperty(value = "数据类型,字典表（01：主网测点  02：配网测点）")
    private String dataType;


}
