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

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * pqs
 *
 * @author cdf
 * @date 2023/2/14
 */
@Data
@Measurement(name = "pas_alarm")
public class CldAlarm {

    /**
     * 告警信息表序号
     */
    @Column(name = "time")
    private String time;

    /**
     * 告警类型序号
     */
    @Column(name = "type")
    private String type;

    /**
     * 告警对应的装置或者监测点
     */
    @Column(name = "line_id")
    private String lineId;

    @Column(name = "dev_line_type")
    private Integer devLineType;

    @Column(name = "process_time")
    private LocalDateTime processTime;

    /**
     * 是否处理（0-未处理 1-已处理）
     */
    @Column(name = "flag")
    private Integer flag;

    /**
     * 告警的详细描述
     */
    @Column(name = "remark")
    private String remark;


}
