aijinhui
2023-10-07 2b29a4a26019e3d1692c4b4c76746dba9fac7b22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
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();
    }
}