Commit 9498d98fe3efbbdf4058223cd2bf26bbffe684ee
Merge branch '20220624' into 'upgraded_version'
refactor: 数据源新增高级配置字段 See merge request huang/thingsboard3.3.2!111
Showing
2 changed files
with
6 additions
and
0 deletions
@@ -41,4 +41,8 @@ public class ConfigurationDatasourceDTO extends ConfigurationDTO { | @@ -41,4 +41,8 @@ public class ConfigurationDatasourceDTO extends ConfigurationDTO { | ||
41 | 41 | ||
42 | @ApiModelProperty(value = "组态描述") | 42 | @ApiModelProperty(value = "组态描述") |
43 | private String remark; | 43 | private String remark; |
44 | + | ||
45 | + | ||
46 | + @ApiModelProperty(value = "数据源高级配置说明") | ||
47 | + private JsonNode additional; | ||
44 | } | 48 | } |
@@ -23,5 +23,7 @@ public class ConfigurationDatasource extends ConfigurationBaseEntity { | @@ -23,5 +23,7 @@ public class ConfigurationDatasource extends ConfigurationBaseEntity { | ||
23 | private String deviceId; | 23 | private String deviceId; |
24 | private String slaveDeviceId; | 24 | private String slaveDeviceId; |
25 | private String attr; | 25 | private String attr; |
26 | + @TableField(typeHandler = JacksonTypeHandler.class) | ||
27 | + private JsonNode additional; | ||
26 | 28 | ||
27 | } | 29 | } |