public class Property extends Object implements Serializable, Cloneable
| 限定符和类型 | 字段和说明 |
|---|---|
String |
after
在哪个字段之后
|
String |
check
check约束
|
String |
className
类名
|
Class |
clazz
类
|
String |
column
列名
|
String |
columnLabel
返回列标签名称
|
String |
columnType
数据库类型
|
String |
comment
注释
|
boolean |
createdAt
是否填充插入时间
|
String |
defaultValue
默认值
|
Entity |
entity
所属实体
|
String |
escapeCheck
转义后的check约束
|
ForeignKey |
foreignKey
外键关联
|
String |
function
字段函数
|
boolean |
id
是否是id
|
Integer |
length
长度
|
String |
name
属性名
|
boolean |
notNull
是否非空
|
int |
position
属性所在位置
|
IdStrategy |
strategy
id生成策略
|
boolean |
updateAt
是否填充更新时间
|
| 构造器和说明 |
|---|
Property() |
public boolean id
public transient IdStrategy strategy
public String columnLabel
public String column
public String columnType
public Integer length
public String comment
public transient Class clazz
public String className
public String name
public boolean notNull
public String check
public String escapeCheck
public String defaultValue
public int position
public String after
public String function
public boolean createdAt
public boolean updateAt
public transient ForeignKey foreignKey
public transient Entity entity
Copyright © 2021. All rights reserved.