吉安感知网项目-后端
linwei
2026-07-16 04f727bd9e91d80de93efeeaf1addcb62abbea10
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
/*
 *      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.fw.device.dto;
 
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.sxkj.fw.common.FwBaseInfo;
 
/**
 * 设备表 数据传输对象实体类
 *
 * @author aix
 * @since 2026-01-08
 */
@Data
public class FwDeviceDTO extends FwBaseInfo implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private    Long id;
 
    /**
     * 设备sn
     */
    @ApiModelProperty(value = "设备sn")
    private String deviceSn;
 
    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称", required = true)
    private String deviceName;
    /**
     * 设备类型(察打一体/便捷侦测箱/反制枪)
     */
    @ApiModelProperty(value = "设备类型(察打一体/便捷侦测箱/反制枪)")
    private String deviceType;
    /**
     * 设备属性(无线电/光电/雷达)
     */
    @ApiModelProperty(value = "设备属性(无线电/光电/雷达)")
    private String deviceAtt;
    /**
     * 型号
     */
    @ApiModelProperty(value = "型号")
    private String deviceModel;
    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String deviceSpecification;
    /**
     * 生产厂商
     */
    @ApiModelProperty(value = "生产厂商")
    private String manufacturer;
    /**
     * 来源
     */
    @ApiModelProperty(value = "来源")
    private String source;
    /**
     * 用途
     */
    @ApiModelProperty(value = "用途")
    private String purpose;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private Long belongDept;
    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String charger;
    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String contactPhone;
 
    /**
     * 有效范围 km
     */
    @ApiModelProperty(value = "有效范围 km")
    private BigDecimal effectiveRangeKm;
 
    /**
     * 有效范围 km
     */
    @ApiModelProperty(value = "是否有范围 0不过滤 1有 2没有")
    private int effectiveRangeKmIsNotNull ;
 
    /**
     * 是否出库
     */
    @ApiModelProperty(value = "是否出库 0不过滤 1是 2否")
    private int isTrack;
 
    /**
     * 设备状态,多个状态用逗号隔
     */
    @ApiModelProperty(value = "设备状态,多个状态用逗号隔开")
    private List<String> deviceStatusList;
 
    /**
     * 运行状态(0:在线/1:离线/2:故障/3:报废)
     */
    @ApiModelProperty(value = "运行状态(0:在线/1:离线/2:故障/3:报废)")
    private Integer status;
    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private String latitude;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private String longitude;
 
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createUser;
    /**
     * 创建部门
     */
    @ApiModelProperty(value = "创建部门")
    private Long createDept;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Long updateUser;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 删除标志(0存在 1删除)
     */
    @ApiModelProperty(value = "删除标志(0存在 1删除)")
    private Integer isDeleted;
    // flyTime
    @ApiModelProperty(value = " flyTime")
    private Date flyTime;
 
    /**
     * 使用日期
     */
    @ApiModelProperty(value = "使用日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date useDate;
 
    /**
     * 使用年限(单位:年)
     */
    @ApiModelProperty(value = "使用年限(单位:年)")
    private Integer serviceLife;
    // isEnabled
    @ApiModelProperty(value = "是否启用")
    private Integer isEnabled;
 
}