‘liusuyi’
2023-08-28 418a8806dba90a2463f194da759ed6338018d7d2
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
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();
    }
}