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

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.Instant;

/**
 * @version 1.0.0
 * @author: chenchao
 * @date: 2022/08/16 16:13
 */
@Data
@Measurement(name = "pqs_top_msg")
@Deprecated
public class TopMsg {

    @Column(name = "time")
    private Instant timeId;

    @Column(name = "dev_id")
    private String deviceId;

    @Column(name = "alarm_num")
    private Integer alarmNum;

    @Column(name = "com_out_num")
    private Integer comOutNum;

    @Column(name = "flow_num")
    private Integer flowNum;

    @Column(name = "over_limit")
    private Integer overLimit;

    @Column(name = "flow_stand")
    private Integer flowStand;

    @Column(name = "state")
    private Integer state;

    @Column(name = "com_out_desc")
    private String comOutDesc;

    @Column(name = "alarm_desc")
    private String alarmDesc;

}
