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

import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author cdf
 * @since 2022-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cld_alarm")
public class Alarm extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 告警信息表序号
     */
    private String id;

    /**
     * 告警类型序号
     */
    private String type;

    /**
     * 告警对应的装置或者监测点
     */
    private String lineId;

    private Integer devLineType;

    private LocalDateTime processTime;

    /**
     * 是否处理（0-未处理 1-已处理）
     */
    private Integer flag;

    /**
     * 告警的详细描述
     */
    private String remark;

    /**
     * 状态 0-删除；1-正常；默认正常
     */
    private Integer state;



}
