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