|
|
@@ -18,9 +18,12 @@ import java.util.List;
|
|
|
@NoArgsConstructor
|
|
|
public class IotAttribute {
|
|
|
|
|
|
- @Schema(description = "属性类型,如:数字,字符串 ...")
|
|
|
+ @Schema(description = "数据,如:数字,字符串 ...")
|
|
|
private DataType dataType;
|
|
|
|
|
|
+ @Schema(description = "元素类型,只有 dataType=Array才使用")
|
|
|
+ private DataType elementType;
|
|
|
+
|
|
|
@Schema(description = "参数描述,如:姓名")
|
|
|
private String name;
|
|
|
|