注释类型 Column
-
@Target(FIELD) @Retention(RUNTIME) public @interface Column字段- 作者:
- FzmXer 2024年01月19日 12时52分
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 booleanautomatic是否自增 primaryKey() 为true才生效java.lang.Stringcomments字段注释booleanexist是否映射intlength字段长度 比如 int(1) - varchar(32)java.lang.Stringname字段名booleannullable允许为空booleanprimaryKey主键DataTypetype字段类型 (默认自动推断,但是不一定准确)booleanunique值是否唯一booleanwhere是否作为查询条件
-
-
-
-
type
DataType type
字段类型 (默认自动推断,但是不一定准确)- 返回:
- 类型
- 默认值:
- cn.fxcraft.orm.enums.DataType.NONE
-
-