package com.ycl.entity.smoke;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.io.Serializable;
|
|
/**
|
* <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")
|
@JsonProperty("Id")
|
private String id;
|
|
/**
|
* 监测点ID
|
*/
|
@TableField("local_id")
|
@JsonProperty("LocaleId")
|
private String localId;
|
|
/**
|
* 设备编号
|
*/
|
@TableField("mn")
|
@JsonProperty("MN")
|
private String mn;
|
|
/**
|
* 数据类型1:超标2:异常
|
*/
|
@TableField("typ")
|
@JsonProperty("Typ")
|
private Integer typ;
|
|
/**
|
* 报警时间
|
*/
|
@TableField("alarm_date")
|
@JsonProperty("AlarmDate")
|
private String alarmDate;
|
|
/**
|
* 设备类型
|
*/
|
@TableField("device_type")
|
@JsonProperty("DeviceType")
|
private Integer deviceType;
|
|
/**
|
* 采集时间
|
*/
|
@TableField("acquit_at")
|
@JsonProperty("AcquitAt")
|
private Long acquitAt;
|
|
/**
|
* 处理时间
|
*/
|
@TableField("process_at")
|
@JsonProperty("ProcessAt")
|
private Long processAt;
|
|
/**
|
* 所属单位
|
*/
|
@TableField("owner")
|
@JsonProperty("Owner")
|
private String owner;
|
|
/**
|
* 解决方案
|
*/
|
@TableField("solution")
|
@JsonProperty("Solution")
|
private String solution;
|
|
/**
|
* 处理地址
|
*/
|
@TableField("processing_address")
|
@JsonProperty("ProcessingAddress")
|
private String processingAddress;
|
|
/**
|
* 点位地址
|
*/
|
@TableField("addr")
|
@JsonProperty("Addr")
|
private String addr;
|
|
/**
|
* 处理人ID
|
*/
|
@TableField("process_user_id")
|
@JsonProperty("ProcessUserId")
|
private String processUserId;
|
|
/**
|
* 处理人名称
|
*/
|
@TableField("process_user_name")
|
@JsonProperty("ProcessUserName")
|
private String processUserName;
|
|
/**
|
* 处理原因
|
*/
|
@TableField("process_reason")
|
@JsonProperty("Processor")
|
private String processReason;
|
|
/**
|
* 关联地址
|
*/
|
@TableField("created_at")
|
@JsonProperty("CreatedAt")
|
private String createdAt;
|
|
/**
|
* 地址序列
|
*/
|
@TableField("update_at")
|
@JsonProperty("UpdatedAt")
|
private String updateAt;
|
|
/**
|
* 查询结果总数
|
*/
|
@TableField("total")
|
@JsonProperty("")
|
private Integer total;
|
|
/**
|
* 报警图片
|
*/
|
@TableField(exist = false)
|
@JsonProperty("AlarmRecordPicS")
|
private String[] alarmRecordPics;
|
|
/**
|
* 报警图片
|
*/
|
@TableField("alarm_record_pics")
|
private String alarmRecordPicsString;
|
}
|