| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
id
标记字段是否为主键字段
|
boolean |
insertable
可插入
|
org.apache.ibatis.type.JdbcType |
jdbcType
数据库类型 {, jdbcType=VARCHAR}
|
String |
numericScale
小数位数 {, numericScale=2}
|
String |
orderBy
排序方式,默认空时不作为排序字段,只有手动设置 ASC 和 DESC 才有效
|
int |
orderByPriority
排序的优先级,多个排序字段时,根据该值确定顺序,数值越小优先级越高
|
Entity.Prop[] |
props
属性配置
|
String |
remark
备注,仅用于在注解上展示,不用于任何其他处理
|
boolean |
selectable
可查询
|
Class<? extends org.apache.ibatis.type.TypeHandler> |
typeHandler
类型处理器 {, typeHandler=XXTypeHandler}
|
boolean |
updatable
可更新
|
String |
value
列名,默认空时使用字段名(不进行任何转换)
|
public abstract String value
public abstract String remark
public abstract String orderBy
public abstract org.apache.ibatis.type.JdbcType jdbcType
public abstract Class<? extends org.apache.ibatis.type.TypeHandler> typeHandler
public abstract String numericScale
public abstract Entity.Prop[] props
Copyright © 2022. All rights reserved.