吉安感知网项目-后端
linwei
2026-01-14 d6a5f05d6ff1ca1282cfbd5f2581fd55793a8312
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.sxkj.gd.workOrder.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 设备信息 实体类
 *
 * @author lw
 * @since 2026-01-14
 */
@Data
@TableName("ja_gd_manage_device")
@ApiModel(value = "GdManageDevice对象", description = "设备信息")
@EqualsAndHashCode(callSuper = true)
public class GdManageDeviceEntity extends BaseEntity {
 
    /**
     * dock, drone, remote control
     */
    @ApiModelProperty(value = "dock, drone, remote control")
    private String deviceSn;
    /**
     * model of the device. This parameter corresponds to the device name in the device dictionary table.
     */
    @ApiModelProperty(value = "model of the device. This parameter corresponds to the device name in the device dictionary table.")
    private String deviceName;
    /**
     * custom name of the device
     */
    @ApiModelProperty(value = "custom name of the device")
    private String nickname;
    /**
     * The workspace to which the current device belongs.如果为时间戳则表明该机场已被解绑
     */
    @ApiModelProperty(value = "The workspace to which the current device belongs.如果为时间戳则表明该机场已被解绑")
    private String workspaceId;
    /**
     * This parameter corresponds to the device type in the device dictionary table.
     */
    @ApiModelProperty(value = "This parameter corresponds to the device type in the device dictionary table.")
    private Integer deviceType;
    /**
     * This parameter corresponds to the sub type in the device dictionary table.
     */
    @ApiModelProperty(value = "This parameter corresponds to the sub type in the device dictionary table.")
    private Integer subType;
    /**
     * 设备负载(红外,喇叭,闪光灯)
     */
    @ApiModelProperty(value = "设备负载(红外,喇叭,闪光灯)")
    private String devicePayload;
    /**
     * 当前经度
     */
    @ApiModelProperty(value = "当前经度")
    private Double longitude;
    /**
     * 当前纬度
     */
    @ApiModelProperty(value = "当前纬度")
    private Double latitude;
    /**
     * The account used when the device was bound.
     */
    @ApiModelProperty(value = "The account used when the device was bound.")
    private String userId;
    /**
     * This parameter corresponds to the domain in the device dictionary table.
     */
    @ApiModelProperty(value = "This parameter corresponds to the domain in the device dictionary table.")
    private Integer domain;
    /**
     * firmware version of the device
     */
    @ApiModelProperty(value = "firmware version of the device")
    private String firmwareVersion;
    /**
     * 1:一致;0:不一致;固件版本是否一致。
     */
    @ApiModelProperty(value = "1:一致;0:不一致;固件版本是否一致。")
    private Boolean compatibleStatus;
    /**
     * version of the protocol. This field is currently not useful.
     */
    @ApiModelProperty(value = "version of the protocol. This field is currently not useful.")
    private String version;
    /**
     * Control of the drone, A control or B control.
     */
    @ApiModelProperty(value = "Control of the drone, A control or B control.")
    private String deviceIndex;
    /**
     * The device controlled by the gateway.
     */
    @ApiModelProperty(value = "The device controlled by the gateway.")
    private String childSn;
    /**
     * The time when the device is bound to the workspace.
     */
    @ApiModelProperty(value = "The time when the device is bound to the workspace.")
    private Long boundTime;
    /**
     * The status when the device is bound to the workspace. 1: bound; 0: not bound;
     */
    @ApiModelProperty(value = "The status when the device is bound to the workspace. 1: bound; 0: not bound;")
    private Boolean boundStatus;
    /**
     * The time of the last device login.
     */
    @ApiModelProperty(value = "The time of the last device login.")
    private Long loginTime;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private String deviceDesc;
    /**
     * The icon displayed on the remote control.
     */
    @ApiModelProperty(value = "The icon displayed on the remote control.")
    private String urlNormal;
    /**
     * The icon displayed on the remote control when it is selected.
     */
    @ApiModelProperty(value = "The icon displayed on the remote control when it is selected.")
    private String urlSelect;
    /**
     * 保护区ID
     */
    @ApiModelProperty(value = "保护区ID")
    private String reserveId;
    /**
     * 相机名称
     */
    @ApiModelProperty(value = "相机名称")
    private String creamaName;
    /**
     * 机巢编号
     */
    @ApiModelProperty(value = "机巢编号")
    private String machineNestSn;
    /**
     * 飞机操控密码
     */
    @ApiModelProperty(value = "飞机操控密码")
    private String operatePassword;
    /**
     * 设备状态:{"0":"空闲中","1":"现场调试","2":"远程调试","3":"固件升级中","4":"作业中","5":"待标定"}
     */
    @ApiModelProperty(value = "设备状态:{0:空闲中,1:现场调试,2:远程调试,3:固件升级中,4:作业中,5:待标定}")
    private Long modeCode;
    /**
     * 是否可移动,0=不可移动,1=可移动
     */
    @ApiModelProperty(value = "是否可移动,0=不可移动,1=可移动")
    private Byte movable;
    /**
     * 保险过期时间
     */
    @ApiModelProperty(value = "保险过期时间")
    private Date insureExpiredTime;
    /**
     * 流量剩余类型:0充足,1=流量到期,2=不足
     */
    @ApiModelProperty(value = "流量剩余类型:0充足,1=流量到期,2=不足")
    private Byte flowType;
    /**
     * 维保开始时间
     */
    @ApiModelProperty(value = "维保开始时间")
    private Date maintenanceStart;
    /**
     * 维保结束时间
     */
    @ApiModelProperty(value = "维保结束时间")
    private Date maintenanceEnd;
    /**
     * 保险开始时间
     */
    @ApiModelProperty(value = "保险开始时间")
    private Date insureStartTime;
    /**
     * 设备eid编号
     */
    @ApiModelProperty(value = "设备eid编号")
    private String eid;
    /**
     * 剩余流量(单位:GB)
     */
    @ApiModelProperty(value = "剩余流量(单位:GB)")
    private BigDecimal trafficRemaining;
    /**
     * 流量到期时间
     */
    @ApiModelProperty(value = "流量到期时间")
    private Date trafficExpireTime;
    /**
     * 内部隐藏标识(0-正常,1-下线)
     */
    @ApiModelProperty(value = "内部隐藏标识(0-正常,1-下线)")
    private Boolean hiddenFlag;
    /**
     * 部署模式:0-统一部署,1-独立部署
     */
    @ApiModelProperty(value = "部署模式:0-统一部署,1-独立部署")
    private Boolean deploymentMode;
    /**
     * 绑定机构id
     */
    @ApiModelProperty(value = "绑定机构id")
    private Long deptId;
    /**
     * 行政区域编号
     */
    @ApiModelProperty(value = "行政区域编号")
    private String areaCode;
    /**
     * 4G流量数据
     */
    @ApiModelProperty(value = "4G流量数据")
    private String trafficData;
    /**
     * DEM数据状态:0-未初始化,1-初始化中,2-初始化成功,3-初始化失败
     */
    @ApiModelProperty(value = "DEM数据状态:0-未初始化,1-初始化中,2-初始化成功,3-初始化失败")
    private Integer demStatus;
 
}