吉安感知网项目-后端
linwei
6 days ago ebeb43ea497fafc448c827d1de6796bcaa4e0b52
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
/*
 *      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.TableField;
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 org.sxkj.gd.config.GeometryTypeHandler;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 设备信息 实体类
 *
 * @author lw
 * @since 2026-01-14
 */
@Data
// @TableName("ja_gd_manage_device")
@TableName(value = "ja_gd_manage_device",autoResultMap = true)
@ApiModel(value = "设备信息表", description = "设备信息")
@EqualsAndHashCode(callSuper = true)
public class GdManageDeviceEntity extends BaseEntity {
 
    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    private String deviceSn;
    /**
     * 星图业务Id
     */
    @ApiModelProperty(value = "设备Id(星图业务)")
    private String airportId;
    /**
     * 行政区域编号
     */
    @ApiModelProperty(value = "行政区域编号")
    @TableField("area_code")
    private String areaCode;
    /**
     * 设备型号
     */
    @ApiModelProperty(value = "设备型号")
    private String deviceName;
    /**
     * 设备昵称
     */
    @ApiModelProperty(value = "设备昵称")
    private String nickname;
    /**
     * 设备类型(0机场,1无人机)
     */
    @ApiModelProperty(value = "设备类型(0机场,1无人机)")
    private Integer deviceType;
    /**
     * 设备负载(红外,喇叭,闪光灯)
     */
    @ApiModelProperty(value = "设备负载(红外,喇叭,闪光灯)")
    private String devicePayload;
    /**
     * 当前经度
     */
    @ApiModelProperty(value = "当前经度")
    private Double longitude;
    /**
     * 当前纬度
     */
    @ApiModelProperty(value = "当前纬度")
    private Double latitude;
    /**
     * 固件版本
     */
    @ApiModelProperty(value = "固件版本")
    private String firmwareVersion;
    /**
     * 子设备(一般用途是机场下面的无人机)
     */
    @ApiModelProperty(value = "子设备(一般用途是机场下面的无人机)")
    private String childSn;
    /**
     * 设备状态:{0:"在线",1:"离线"}
     */
    @ApiModelProperty(value = "设备状态:{0:在线,1:离线}")
    private Long modeCode;
    /**
     * 保险过期时间
     */
    @ApiModelProperty(value = "保险过期时间")
    private Date insureExpiredTime;
    /**
     * 剩余流量(单位:GB)
     */
    @ApiModelProperty(value = "剩余流量(单位:GB)")
    private BigDecimal trafficRemaining;
    /**
     * 流量到期时间
     */
    @ApiModelProperty(value = "流量到期时间")
    private Date trafficExpireTime;
 
    /**
     * 5公里范围面数据
     */
    @ApiModelProperty(value = "5公里范围面数据")
     @TableField(typeHandler = GeometryTypeHandler.class)
    private String geom;
    /**
     * 设备位置
     */
    @ApiModelProperty(value = "设备位置")
    private String location;
 
    /**
     * 设备高度
     */
    @ApiModelProperty(value = "设备高度")
    private Double height;
 
    /**
     * 是否在机巢中0:是1否
     */
    @ApiModelProperty(value = "是否在机巢中0:是1否")
    private Integer isWithDock;
 
 
}