您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
索引
帮助
概要:
字段
必需
可选
详细资料:
字段
元素
概要:
字段 |
必需 |
可选
详细资料:
字段 |
元素
SEARCH
程序包
com.tangzc.mybatisflex.annotation
批注类型 InsertFillTime
@Documented
@Retention
(
RUNTIME
)
@Target
(
FIELD
)
@FillTime
public @interface
InsertFillTime
SQL插入的时候,自动填充当前时间
作者:
don
可选元素概要
可选元素
修饰符和类型
可选元素
说明
String
format
如果字段类型为String,需要制定字符串格式
boolean
override
若对象上存在值,是否覆盖
元素详细资料
format
@AliasFor(annotation=
FillTime.class
, attribute="format")
String
format
如果字段类型为String,需要制定字符串格式
默认值:
"yyyy-MM-dd HH:mm:ss"
override
@AliasFor(annotation=
FillTime.class
, attribute="override")
boolean
override
若对象上存在值,是否覆盖
默认值:
true