public class Property extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
String |
check
check约束
|
String |
className
类名
|
String |
column
列名
|
String |
columnType
自定义类型
|
String |
comment
注释
|
boolean |
createdAt
是否填充插入时间
|
String |
defaultValue
默认值
|
Entity |
entity
所属实体
|
ForeignKey |
foreignKey
外键关联
|
String |
function
字段函数
|
boolean |
id
是否是id
|
boolean |
index
是否建立索引
|
String |
name
属性名
|
boolean |
notNull
是否非空
|
String |
simpleTypeName
类型名
|
IdStrategy |
strategy
id生成策略
|
boolean |
unionUnique
是否是联合唯一索引
|
boolean |
unique
是否唯一
|
boolean |
updateAt
是否填充更新时间
|
| 构造器和说明 |
|---|
Property() |
public boolean id
public IdStrategy strategy
public String column
public String columnType
public String simpleTypeName
public String className
public String name
public boolean index
public boolean unique
public boolean unionUnique
public boolean notNull
public String check
public String defaultValue
public String comment
public String function
public boolean createdAt
public boolean updateAt
public ForeignKey foreignKey
public Entity entity
Copyright © 2020. All rights reserved.