package org.jeecg.modules.iot.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
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: 2025-1-2
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("iot_real_parameter")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value = "RealParameter对象", description = "实设备参数")
|
public class RealParameter implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/** ID */
|
@TableId(type = IdType.ID_WORKER_STR)
|
@ApiModelProperty(value = "ID")
|
private java.lang.String id;
|
/** 创建人 */
|
@ApiModelProperty(value = "创建人")
|
private java.lang.String createBy;
|
/** 创建时间 */
|
@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 createTime;
|
/** 更新人 */
|
@ApiModelProperty(value = "更新人")
|
private java.lang.String updateBy;
|
/** 更新时间 */
|
@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 updateTime;
|
/**
|
* 参数组id
|
*/
|
@ApiModelProperty(value = "参数组id")
|
private String parameterGroupId;
|
|
|
/**
|
* 参数名称
|
*/
|
@Excel(name = "名称", width = 15)
|
@ApiModelProperty(value = "参数名称")
|
private String parameterName;
|
|
/**
|
* 参数类型
|
*/
|
@ApiModelProperty(value = "参数类型")
|
@Excel(name = "数据类型", width = 15)
|
private String parameterType;
|
|
/**
|
* 参数编号
|
*/
|
@ApiModelProperty(value = "参数编号")
|
private Integer parameterCode;
|
|
/**
|
* 参数地址
|
*/
|
@Excel(name = "地址", width = 30)
|
@ApiModelProperty(value = "地址")
|
private String address;
|
|
/**
|
* 字符串长度
|
*/
|
@Excel(name = "字符串长度", width = 15)
|
@ApiModelProperty(value = "字符串长度")
|
private Integer dataLength;
|
|
/**
|
* 参数描述
|
*/
|
@Excel(name = "参数描述", width = 50)
|
@ApiModelProperty(value = "参数描述")
|
private String parameterDescribe;
|
|
/**
|
* 系统数据类型
|
*/
|
@ApiModelProperty(value = "系统数据类型")
|
private String systemDataType;
|
/**
|
* 读写类型
|
*/
|
@Excel(name = "读写类型", width = 10)
|
@ApiModelProperty(value = "读写类型")
|
private String readWriteType;
|
|
@TableField(exist = false)
|
private String groupCode;
|
@TableField(exist = false)
|
private String groupName;
|
@TableField(exist = false)
|
private String serverCode;
|
@TableField(exist = false)
|
private String equipmentId;
|
@TableField(exist = false)
|
private String dataType;
|
/******************************************* 订阅 *******************************************/
|
@TableField(exist = false)
|
private String parameterValue;
|
@TableField(exist = false)
|
private String quality;
|
@TableField(exist = false)
|
private String timeStamp;
|
@TableField(exist = false)
|
private String eqptCode;
|
@TableField(exist = false)
|
private String eqptName;
|
|
}
|