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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author zbj
 * @since 2023-06-08
 */
@Data
@TableName("r_stat_event_q")
public class RStatEventQPO {

    @MppMultiId(value = "org_no")
    private String orgNo;

    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    @MppMultiId(value = "measurement_type_class")
    private String measurementTypeClass;

    @MppMultiId(value = "event_type")
    private String eventType;

    @TableField(value = "event_measurement_average")
    private Float eventMeasurementAverage;

    @TableField(value = "event_measurement_accrued")
    private Integer eventMeasurementAccrued;

    @TableField(value = "event_freq")
    private Float eventFreq;

    @TableField(value = "event_count")
    private Integer eventCount;

    @TableField(value = "event_measurement_ratio_average")
    private Float eventMeasurementRatioAverage;

    @TableField(value = "event_measurement_ratio_accrued")
    private Float eventMeasurementRatioAccrued;

    @MppMultiId(value = "data_type")
    private String dataType;
}
