package com.njcn.mysql.bo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.njcn.mysql.bo.util.CompareValue;
import lombok.Data;

import javax.validation.constraints.Max;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/3/24 14:46
 */
@Data
@TableName(value = "r_stat_data_plt_d")
public class RStatDataPltD implements Serializable {

    @MppMultiId
    @TableField(value = "time")
    private LocalDate time;

    @MppMultiId
    @TableField(value = "line_id")
    private String lineId;

    @MppMultiId
    @TableField(value = "phasic_type")
    private String phaseType;

    @MppMultiId
    @TableField(value = "value_type")
    private String valueType;

    @TableField(value = "quality_flag")
    private Integer qualityFlag;

    @TableField(value = "plt")
    @CompareValue()
    private Float plt;

}
