package com.ycl.smoke.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.Version;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import java.time.LocalDateTime;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
/**
|
* <p>
|
* 报警记录
|
* </p>
|
*
|
* @author lyq
|
* @since 2023-02-28
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("ums_ods_alarm_record")
|
public class OdsAlarmRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId("id")
|
private String id;
|
|
/**
|
* 监测点ID
|
*/
|
@TableField("local_id")
|
private String localId;
|
|
/**
|
* 设备编号
|
*/
|
@TableField("mn")
|
private String mn;
|
|
/**
|
* 数据类型1:超标2:异常
|
*/
|
@TableField("typ")
|
private Integer typ;
|
|
/**
|
* 报警时间
|
*/
|
@TableField("alarm_date")
|
private LocalDateTime alarmDate;
|
|
/**
|
* 设备类型
|
*/
|
@TableField("device_type")
|
private Integer deviceType;
|
|
/**
|
* 采集时间
|
*/
|
@TableField("acquit_at")
|
private Long acquitAt;
|
|
/**
|
* 处理时间
|
*/
|
@TableField("process_at")
|
private Long processAt;
|
|
/**
|
* 所属单位
|
*/
|
@TableField("owner")
|
private String owner;
|
|
/**
|
* 解决方案
|
*/
|
@TableField("solution")
|
private String solution;
|
|
/**
|
* 处理地址
|
*/
|
@TableField("processing_address")
|
private String processingAddress;
|
|
/**
|
* 点位地址
|
*/
|
@TableField("addr")
|
private String addr;
|
|
/**
|
* 处理人ID
|
*/
|
@TableField("process_user_id")
|
private String processUserId;
|
|
/**
|
* 处理人名称
|
*/
|
@TableField("process_user_name")
|
private String processUserName;
|
|
/**
|
* 处理原因
|
*/
|
@TableField("process_reason")
|
private String processReason;
|
|
/**
|
* 关联地址
|
*/
|
@TableField("created_at")
|
private LocalDateTime createdAt;
|
|
/**
|
* 地址序列
|
*/
|
@TableField("update_at")
|
private LocalDateTime updateAt;
|
|
/**
|
* 查询结果总数
|
*/
|
@TableField("total")
|
private Integer total;
|
|
/**
|
* 报警图片
|
*/
|
@TableField("alarm_record_pics")
|
private String alarmRecordPics;
|
|
|
}
|