package com.ruoyi.alarm.apponekey.domain;
|
|
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;
|
|
import java.util.Date;
|
|
/**
|
* app一键报警对象 ard_alarm_apponekey
|
*
|
* @author ard
|
* @date 2023-07-21
|
*/
|
public class ArdAlarmApponekey extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
private String id;
|
|
/**
|
* app用户ID
|
*/
|
@Excel(name = "app用户ID")
|
private String userId;
|
/**
|
* app用户姓名
|
*/
|
@Excel(name = "app用户姓名")
|
private String name;
|
/**
|
* 经度
|
*/
|
@Excel(name = "经度")
|
private Double longitude;
|
|
/**
|
* 纬度
|
*/
|
@Excel(name = "纬度")
|
private Double latitude;
|
|
/**
|
* 高层
|
*/
|
@Excel(name = "高层")
|
private Double altitude;
|
|
/**
|
* 录像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;
|
|
|
/**
|
* 报警总数
|
*/
|
private Integer total;
|
/**
|
* 未读报警数量
|
*/
|
private Integer count;
|
|
public Date getViewTime() {
|
return viewTime;
|
}
|
|
public void setViewTime(Date viewTime) {
|
this.viewTime = viewTime;
|
}
|
|
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 String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
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 setAltitude(Double altitude) {
|
this.altitude = altitude;
|
}
|
|
public Double getAltitude() {
|
return altitude;
|
}
|
|
public void setRecordUrl(String recordUrl) {
|
this.recordUrl = recordUrl;
|
}
|
|
public String getRecordUrl() {
|
return recordUrl;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userId", getUserId())
|
.append("longitude", getLongitude())
|
.append("latitude", getLatitude())
|
.append("altitude", getAltitude())
|
.append("recordUrl", getRecordUrl())
|
.append("createTime", getCreateTime())
|
.toString();
|
}
|
}
|