程序包 cn.zhxu.bs.bean
Enum Class DbType
- 所有已实现的接口:
Serializable,Comparable<DbType>,java.lang.constant.Constable
数据库字段类型
- 从以下版本开始:
- v3.8.0
- 作者:
- Troy.Zhou @ 2022-06-07
-
枚举常量详细资料
-
BOOL
布尔字段 -
BYTE
字节 -
SHORT
短整形 -
INT
整形字段 -
LONG
长整形字段 -
FLOAT
浮点型 -
DOUBLE
双精度 -
DECIMAL
金融数字 -
STRING
字符串 -
JSON
JSON 字段- 从以下版本开始:
- v4.0.0
-
DATE
日期(没有时间) -
TIME
时间(没有日期) -
DATETIME
日期+时间 -
UNKNOWN
未知(自动推断)
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getType
-