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;
|
}
|