package com.ruoyi.alarm.cameraAlarm.domain;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* 通用光电报警对象 ard_alarm_camera
|
*
|
* @author ard
|
* @date 2023-06-21
|
*/
|
public class ArdAlarmCamera extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 记录ID */
|
private String id;
|
|
/** 相机id */
|
@Excel(name = "相机id")
|
private String cameraId;
|
|
/** 相机名称 */
|
@Excel(name = "相机名称")
|
private String cameraName;
|
|
/** 相机通道 */
|
@Excel(name = "相机通道")
|
private Integer cameraChannel;
|
|
/** 相机类型 */
|
@Excel(name = "相机类型")
|
private String cameraType;
|
|
/** 报警类型 */
|
@Excel(name = "报警类型")
|
private String alarmType;
|
|
/** 报警时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date alarmTime;
|
|
/** 经度 */
|
@Excel(name = "经度")
|
private Double longitude;
|
|
/** 纬度 */
|
@Excel(name = "纬度")
|
private Double latitude;
|
|
/** 规则id */
|
@Excel(name = "规则id")
|
private Integer ruleId;
|
|
/** 图片url */
|
@Excel(name = "图片url")
|
private String picUrl;
|
|
/** 引导录像url */
|
@Excel(name = "引导录像url")
|
private String recordUrl;
|
|
/** 查看时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "查看时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date viewTime;
|
|
/** 用户ID */
|
@Excel(name = "用户ID")
|
private String userId;
|
|
/** 部门ID */
|
@Excel(name = "部门ID")
|
private Integer deptId;
|
|
/**
|
* 报警总数
|
*/
|
private Integer total;
|
/**
|
* 未读报警数量
|
*/
|
private Integer count;
|
|
|
public Integer getTotal() {
|
return total;
|
}
|
|
public void setTotal(Integer total) {
|
this.total = total;
|
}
|
|
public Integer getCount() {
|
return count;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
|
public void setId(String id)
|
{
|
this.id = id;
|
}
|
|
public String getId()
|
{
|
return id;
|
}
|
public void setCameraId(String cameraId)
|
{
|
this.cameraId = cameraId;
|
}
|
|
public String getCameraId()
|
{
|
return cameraId;
|
}
|
public void setCameraName(String cameraName)
|
{
|
this.cameraName = cameraName;
|
}
|
|
public String getCameraName()
|
{
|
return cameraName;
|
}
|
public void setCameraChannel(Integer cameraChannel)
|
{
|
this.cameraChannel = cameraChannel;
|
}
|
|
public Integer getCameraChannel()
|
{
|
return cameraChannel;
|
}
|
public void setCameraType(String cameraType)
|
{
|
this.cameraType = cameraType;
|
}
|
|
public String getCameraType()
|
{
|
return cameraType;
|
}
|
public void setAlarmType(String alarmType)
|
{
|
this.alarmType = alarmType;
|
}
|
|
public String getAlarmType()
|
{
|
return alarmType;
|
}
|
public void setAlarmTime(Date alarmTime)
|
{
|
this.alarmTime = alarmTime;
|
}
|
|
public Date getAlarmTime()
|
{
|
return alarmTime;
|
}
|
public void setLongitude(Double longitude)
|
{
|
this.longitude = longitude;
|
}
|
|
public Double getLongitude()
|
{
|
return longitude;
|
}
|
public void setLatitude(Double latitude)
|
{
|
this.latitude = latitude;
|
}
|
|
public Double getLatitude()
|
{
|
return latitude;
|
}
|
public void setRuleId(Integer ruleId)
|
{
|
this.ruleId = ruleId;
|
}
|
|
public Integer getRuleId()
|
{
|
return ruleId;
|
}
|
public void setPicUrl(String picUrl)
|
{
|
this.picUrl = picUrl;
|
}
|
|
public String getPicUrl()
|
{
|
return picUrl;
|
}
|
public void setRecordUrl(String recordUrl)
|
{
|
this.recordUrl = recordUrl;
|
}
|
|
public String getRecordUrl()
|
{
|
return recordUrl;
|
}
|
public void setViewTime(Date viewTime)
|
{
|
this.viewTime = viewTime;
|
}
|
|
public Date getViewTime()
|
{
|
return viewTime;
|
}
|
public void setUserId(String userId)
|
{
|
this.userId = userId;
|
}
|
|
public String getUserId()
|
{
|
return userId;
|
}
|
public void setDeptId(Integer deptId)
|
{
|
this.deptId = deptId;
|
}
|
|
public Integer getDeptId()
|
{
|
return deptId;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("cameraId", getCameraId())
|
.append("cameraName", getCameraName())
|
.append("cameraChannel", getCameraChannel())
|
.append("cameraType", getCameraType())
|
.append("alarmType", getAlarmType())
|
.append("alarmTime", getAlarmTime())
|
.append("longitude", getLongitude())
|
.append("latitude", getLatitude())
|
.append("ruleId", getRuleId())
|
.append("picUrl", getPicUrl())
|
.append("recordUrl", getRecordUrl())
|
.append("viewTime", getViewTime())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("userId", getUserId())
|
.append("deptId", getDeptId())
|
.toString();
|
}
|
}
|