@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface TableField
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
insert
insert的时候默认值
|
org.apache.ibatis.type.JdbcType |
jdbcType
JDBC类型
|
boolean |
notLarge
是否非大字段
使用 select(true, FieldMeta::notLarge)排除大字段查询
|
String |
numericScale
指定小数点后保留的位数
|
Class<? extends org.apache.ibatis.type.TypeHandler> |
typeHandler
类型处理器 (该默认值不代表会按照该值生效)
|
String |
update
字段 update set 默认值
|
String |
value
数据库字段名称
默认采用驼峰命名转换为下划线命名
|
public abstract String value
public abstract String update
public abstract String insert
public abstract boolean notLarge
使用 select(true, FieldMeta::notLarge)排除大字段查询
public abstract org.apache.ibatis.type.JdbcType jdbcType
public abstract Class<? extends org.apache.ibatis.type.TypeHandler> typeHandler
public abstract String numericScale
Copyright © 2021. All rights reserved.