- IgnoreTable - com.tangzc.mpe.actable.annotation中的注释类型
-
忽略建表的注解
- IgnoreUpdate - com.tangzc.mpe.actable.annotation中的注释类型
-
作者:guoyzh
时间:2021/5/6 9:43
功能:忽略字段更新
- Index - com.tangzc.mpe.actable.annotation中的注释类型
-
设置字段索引
- isAutoIncrement() - 类 中的方法com.tangzc.mpe.actable.annotation.impl.ColumnImpl
-
是否自动递增,默认false
也可通过注解实现:com.tangzc.mpe.actable.annotation.IsAutoIncrement
- IsAutoIncrement - com.tangzc.mpe.actable.annotation中的注释类型
-
标志该字段需要设置自增
也可通过注解:com.tangzc.mpe.actable.annotation.Column的isAutoIncrement属性实现
- isKey() - 类 中的方法com.tangzc.mpe.actable.annotation.impl.ColumnImpl
-
是否是主键,默认false
也可通过注解实现:com.tangzc.mpe.actable.annotation.IsKey
- IsKey - com.tangzc.mpe.actable.annotation中的注释类型
-
标志该字段为主键
也可通过注解:com.tangzc.mpe.actable.annotation.Column的isKey属性实现
- IsNativeDefValue - com.tangzc.mpe.actable.annotation中的注释类型
-
开启默认值原生模式
原生模式介绍:默认是false表示非原生,此时value只支持字符串形式,会将value值以字符串的形式设置到字段的默认值,例如value="aa" 即sql为 DEFAULT "aa"
如果设置true,此时如果value="CURRENT_TIMESTAMP",即sql为 DEFAULT CURRENT_TIMESTAMP
- IsNotNull - com.tangzc.mpe.actable.annotation中的注释类型
-
标志该字段不允许为空
也可通过注解:com.tangzc.mpe.actable.annotation.Column的isNull属性实现