leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
package com.fastbee.iot.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 设备对象 iot_device
 *
 * @author kerwincui
 * @date 2021-12-16
 */
public class DeviceAllShortOutput
{
    private static final long serialVersionUID = 1L;
 
    /** 产品分类ID */
    private Long deviceId;
 
    /** 产品分类名称 */
    private String deviceName;
 
    /** 产品名称 */
    private String productName;
 
    /** 设备类型(1-直连设备、2-网关子设备、3-网关设备) */
    private Integer deviceType;
 
    /** 用户昵称 */
    private String userName;
 
    /** 设备编号 */
    private String serialNumber;
 
    /** 固件版本 */
    private BigDecimal firmwareVersion;
 
    /** 设备状态(1-未激活,2-禁用,3-在线,4-离线) */
    private Integer status;
 
    /** 设备影子 */
    private Integer isShadow;
 
    /** wifi信号强度(信号极好4格[-55— 0],信号好3格[-70— -55],信号一般2格[-85— -70],信号差1格[-100— -85]) */
    private Integer rssi;
 
    /** 激活时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date activeTime;
 
    /** 是否自定义位置 **/
    private Integer locationWay;
 
    /** 设备地址 */
    private String networkAddress;
 
    /** 经度 */
    private BigDecimal longitude;
 
    /** 纬度 */
    private BigDecimal latitude;
 
    /** 是否设备所有者,用于查询 **/
    private Integer isOwner;
 
    private Integer subDeviceCount;
 
    public Integer getSubDeviceCount() {
        return subDeviceCount;
    }
 
    public void setSubDeviceCount(Integer subDeviceCount) {
        this.subDeviceCount = subDeviceCount;
    }
 
    public Integer getLocationWay() {
        return locationWay;
    }
 
    public void setLocationWay(Integer locationWay) {
        this.locationWay = locationWay;
    }
 
    public Integer getIsOwner() {
        return isOwner;
    }
 
    public void setIsOwner(Integer isOwner) {
        this.isOwner = isOwner;
    }
 
    public String getNetworkAddress() {
        return networkAddress;
    }
 
    public void setNetworkAddress(String networkAddress) {
        this.networkAddress = networkAddress;
    }
 
    public BigDecimal getLongitude() {
        return longitude;
    }
 
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }
 
    public BigDecimal getLatitude() {
        return latitude;
    }
 
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }
 
    public Integer getIsShadow() {
        return isShadow;
    }
 
    public void setIsShadow(Integer isShadow) {
        this.isShadow = isShadow;
    }
 
    public void setRssi(Integer rssi)
    {
        this.rssi = rssi;
    }
 
    public Integer getRssi()
    {
        return rssi;
    }
 
    public void setDeviceId(Long deviceId)
    {
        this.deviceId = deviceId;
    }
 
    public Long getDeviceId()
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }
 
    public String getDeviceName()
    {
        return deviceName;
    }
 
    public void setProductName(String productName)
    {
        this.productName = productName;
    }
 
    public String getProductName()
    {
        return productName;
    }
    public void setDeviceType(Integer deviceType)
    {
        this.deviceType = deviceType;
    }
 
    public Integer getDeviceType()
    {
        return deviceType;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
 
    public String getUserName()
    {
        return userName;
    }
 
    public void setStatus(Integer status)
    {
        this.status = status;
    }
    public Integer getStatus()
    {
        return status;
    }
 
    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }
 
    public String getSerialNumber()
    {
        return serialNumber;
    }
    public void setFirmwareVersion(BigDecimal firmwareVersion)
    {
        this.firmwareVersion = firmwareVersion;
    }
 
    public BigDecimal getFirmwareVersion()
    {
        return firmwareVersion;
    }
 
    public void setActiveTime(Date activeTime)
    {
        this.activeTime = activeTime;
    }
 
    public Date getActiveTime()
    {
        return activeTime;
    }
 
}