吉安感知网项目-后端
linwei
23 hours ago 89fd0b6ff97e90220376cec824eaf8eabb9d0a3e
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
/*
 *      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.dto;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
 
/**
 * 设备信息 数据传输对象实体类
 *
 * @author lw
 * @since 2026-01-14
 */
@Data
public class GdManageDeviceDTO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty("主键id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    private String deviceSn;
    /**
     * 设备型号
     */
    @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 = "保险过期时间yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date insureExpiredTime;
    /**
     * 剩余流量(单位:GB)
     */
    @ApiModelProperty(value = "剩余流量(单位:GB)")
    private BigDecimal trafficRemaining;
    /**
     * 流量到期时间
     */
    @ApiModelProperty(value = "流量到期时间yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date trafficExpireTime;
 
    /**
     * 设备维护状态{0:无需保养,1:待保养,2:正在保养}
     */
    @ApiModelProperty(value = "设备维护状态{0:无需保养,1:待保养,2:正在保养}")
    private Integer maintenanceState;
 
}