package com.njcn.device.pq.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Getter;
import lombok.Setter;

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

/**
 * <p>
 * 
 * </p>
 *
 * @author xy
 * @since 2025-02-17
 */
@Getter
@Setter
@TableName("pq_data_verify_count")
public class PqDataVerifyCount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 监测点id
     */
    @MppMultiId
    @TableField(value = "line_id")
    private String lineId;

    /**
     * 数据时间
     */
    @MppMultiId
    @TableField(value = "time_id")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDate time;

    /**
     * 异常指标数量
     */
    @TableField(value = "total")
    private Integer total ;

    /**
     * 总指标数量
     */
    @TableField(value = "total_all")
    private Integer totalAll ;


}
