Modifier and Type | Field and Description |
---|---|
protected String[] |
alias
列的别名。
|
protected org.apache.ibatis.type.TypeHandler<?> |
buildTypeHandler
最终使用和构建出来的 typeHandler
|
protected String |
column
数据库列名。
|
protected String |
comment
数据库字段注释,在 AI 时代,注释的内容往往可用于 AI 辅助对话
|
protected boolean |
ignore
是否忽略
|
protected org.apache.ibatis.type.JdbcType |
jdbcType
该列对应的 jdbcType。
|
protected String |
maskType
数据脱敏类型。
|
protected String |
property
java entity 定义的属性名称(field name)。
|
protected Class<?> |
propertyType
属性类型。
|
protected org.apache.ibatis.type.TypeHandler<?> |
typeHandler
自定义 TypeHandler。
|
Constructor and Description |
---|
ColumnInfo() |
Modifier and Type | Method and Description |
---|---|
org.apache.ibatis.type.TypeHandler<?> |
buildTypeHandler(org.apache.ibatis.session.Configuration configuration) |
String[] |
getAlias() |
String |
getColumn() |
String |
getComment() |
org.apache.ibatis.type.JdbcType |
getJdbcType() |
String |
getMaskType() |
String |
getProperty() |
Class<?> |
getPropertyType() |
boolean |
isIgnore() |
void |
setAlias(String[] alias) |
void |
setColumn(String column) |
void |
setComment(String comment) |
void |
setIgnore(boolean ignore) |
void |
setJdbcType(org.apache.ibatis.type.JdbcType jdbcType) |
void |
setMaskType(String maskType) |
void |
setProperty(String property) |
void |
setPropertyType(Class<?> propertyType) |
void |
setTypeHandler(org.apache.ibatis.type.TypeHandler<?> typeHandler) |
protected String column
protected String[] alias
protected String property
protected String comment
protected Class<?> propertyType
protected org.apache.ibatis.type.JdbcType jdbcType
protected org.apache.ibatis.type.TypeHandler<?> typeHandler
protected org.apache.ibatis.type.TypeHandler<?> buildTypeHandler
protected String maskType
protected boolean ignore
public String getColumn()
public void setColumn(String column)
public String[] getAlias()
public void setAlias(String[] alias)
public String getProperty()
public void setProperty(String property)
public String getComment()
public void setComment(String comment)
public Class<?> getPropertyType()
public void setPropertyType(Class<?> propertyType)
public org.apache.ibatis.type.JdbcType getJdbcType()
public void setJdbcType(org.apache.ibatis.type.JdbcType jdbcType)
public org.apache.ibatis.type.TypeHandler<?> buildTypeHandler(org.apache.ibatis.session.Configuration configuration)
public void setTypeHandler(org.apache.ibatis.type.TypeHandler<?> typeHandler)
public String getMaskType()
public void setMaskType(String maskType)
public boolean isIgnore()
public void setIgnore(boolean ignore)
Copyright © 2024. All rights reserved.