【代码重构】IoT:弱化 TdEngineDDLMapper 封装,由每个业务独立实现

This commit is contained in:
YunaiV
2024-12-26 07:55:15 +08:00
parent 39896555f0
commit 064b3381df
28 changed files with 329 additions and 319 deletions

View File

@@ -0,0 +1,27 @@
package cn.iocoder.yudao.module.iot.enums.thingmodel;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* IoT 数据定义的数据类型枚举类
*
* @author 芋道源码
*/
@AllArgsConstructor
@Getter
public enum IotDataSpecsDataTypeEnum {
INT("int"),
FLOAT("float"),
DOUBLE("double"),
ENUM("enum"),
BOOL("bool"),
TEXT("text"),
DATE("date"),
STRUCT("struct"),
ARRAY("array");
private final String dataType;
}