cuikaidong
2025-06-12 44e283b774bb1168d0c17dfe5070a1ca8e2274cd
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
package org.jeecg.modules.iot.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
 
/**
 * @Description: 服务器配置
 * @Author: cuikaidong
 * @Date: 2024-12-22
 * @Version: V1.0
 */
@Data
@TableName("iot_server_deploy")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "server_deploy对象", description = "服务器配置")
public class ServerDeploy extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 服务器名称
     */
    @Excel(name = "服务器名称", width = 15)
    @ApiModelProperty(value = "服务器名称")
    private String serverName;
    /**
     * 服务器编号
     */
    @Excel(name = "服务器编号", width = 15)
    @ApiModelProperty(value = "服务器编号")
    private String serverCode;
    /**
     * 服务器地址
     */
    @Excel(name = "服务器地址", width = 15)
    @ApiModelProperty(value = "服务器地址")
    private String serverAddress;
    /**
     * 服务器端口
     */
    @Excel(name = "服务器端口", width = 15)
    @ApiModelProperty(value = "服务器端口")
    private String serverPort;
    /**
     * 采集软件状态
     */
    @Excel(name = "采集软件状态", width = 15)
    @ApiModelProperty(value = "采集软件状态")
    private Integer collectState;
    /**
     * 守护连接状态
     */
    @Excel(name = "守护连接状态", width = 15)
    @ApiModelProperty(value = "守护连接状态")
    private Integer guardState;
    /**
     * 当前采集版本
     */
    @Excel(name = "当前采集版本", width = 15)
    @ApiModelProperty(value = "当前采集版本")
    private String newCollectVersion;
    /**
     * 当前采集版本地址
     */
    @Excel(name = "当前采集版本地址", width = 15)
    @ApiModelProperty(value = "当前采集版本地址")
    private String newCollectAddress;
    /**
     * 最新采集版本
     */
    @Excel(name = "最新采集版本", width = 15)
    @ApiModelProperty(value = "最新采集版本")
    private String latestCollectVersion;
    /**
     * 最新配置文件版本
     */
    @Excel(name = "最新配置文件版本", width = 15)
    @ApiModelProperty(value = "最新配置文件版本")
    private String latestDeployVersion;
    /**
     * 配置文件版本
     */
    @Excel(name = "配置文件版本", width = 15)
    @ApiModelProperty(value = "配置文件版本")
    private String newDeployVersion;
    /**
     * 项目分类id
     */
    @Excel(name = "项目分类id", width = 15)
    @ApiModelProperty(value = "项目分类id")
    private String projectClassifyId;
    /**
     * 授权信息
     */
    @Excel(name = "授权信息", width = 15)
    @ApiModelProperty(value = "授权信息")
    private String authorize;
 
    /** 配置下发时间 */
    @ApiModelProperty(value = "配置下发时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date deployIssueTime;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    private java.lang.String remark;
 
    /***********************************************  扩展字段  **************************************************************/
 
    @TableField(exist = false)
    private InfluxdbDeploy influxdbDeploy;
 
    @TableField(exist = false)
    private MqttDeploy mqttDeploy;
    @TableField(exist = false)
    private String collectVersion;
    @TableField(exist = false)
    private String deployVersion;
    /*
    * 终端地址
     */
    @TableField(exist = false)
    private String address;
}