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

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

import java.io.Serializable;

/**
 * 接收查询influxdb数据（终端异常统计业务）
 *
 * @author yzh
 * @date 2022/9/27
 */
@Data
@Measurement(name = "pqs_top_msg")
@Deprecated
public class DeviceRunException implements Serializable {

    /**
     * 时间
     */
    @Column(name = "time")
    private String time;

    /**
     * 告警描述
     */
    @Column(name = "alarm_desc")
    private String alarmDesc;

    /**
     * 告警统计
     */
    @Column(name = "alarm_num")
    private Long alarmNum;

    /**
     * 中断描述
     */
    @Column(name = "com_out_desc")
    private String comOutDesc;

    /**
     * 中断统计
     */
    @Column(name = "com_out_num")
    private Long comOutNum;

    /**
     * 终端id
     */
    @Column(name = "dev_id")
    private String devId;

    /**
     * 终端流量使用量
     */
    @Column(name = "flow_num")
    private Long flowNum;

    /**
     * 流量是否超标
     */
    @Column(name = "flow_stand")
    private Long flowStand;

    /**
     * 数据数据完整性标识
     */
    @Column(name = "over_limit")
    private Long overLimit;

    /**
     * 状态
     */
    @Column(name = "state")
    private Integer state;
}
