package com.ruoyi.alarm.wall.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;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 电子围栏报警对象 ard_alarm_wall
|
*
|
* @author ard
|
* @date 2023-08-31
|
*/
|
public class ArdAlarmWall extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 报警主键 */
|
private String id;
|
|
/** 围栏ID */
|
@Excel(name = "围栏ID")
|
private String wallId;
|
|
/** 围栏名称 */
|
@Excel(name = "围栏名称")
|
private String wallName;
|
/** 报警用户id */
|
@Excel(name = "报警用户id")
|
private String userId;
|
|
/** 报警类型 */
|
@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;
|
|
/** 高层 */
|
@Excel(name = "高层")
|
private Double altitude;
|
/**
|
* 报警总数
|
*/
|
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 setUserId(String userId)
|
{
|
this.userId = userId;
|
}
|
|
public String getUserId()
|
{
|
return userId;
|
}
|
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 setAltitude(Double altitude)
|
{
|
this.altitude = altitude;
|
}
|
|
public Double getAltitude()
|
{
|
return altitude;
|
}
|
|
public String getWallId() {
|
return wallId;
|
}
|
|
public void setWallId(String wallId) {
|
this.wallId = wallId;
|
}
|
|
public String getWallName() {
|
return wallName;
|
}
|
|
public void setWallName(String wallName) {
|
this.wallName = wallName;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userId", getUserId())
|
.append("alarmType", getAlarmType())
|
.append("alarmTime", getAlarmTime())
|
.append("longitude", getLongitude())
|
.append("latitude", getLatitude())
|
.append("altitude", getAltitude())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|