public interface TablePropertyDefiner
| 限定符和类型 | 方法和说明 |
|---|---|
TablePropertyDefiner |
check(String check)
check约束
|
TablePropertyDefiner |
columnName(String columnName)
列名
|
TablePropertyDefiner |
columnType(String columnType)
类型
|
TablePropertyDefiner |
comment(String comment)
注释
|
TablePropertyDefiner |
defaultValue(String defaultValue)
默认值
|
TableDefiner |
done()
结束
|
TablePropertyDefiner |
id(boolean id)
是否id属性
|
TablePropertyDefiner |
notNull(boolean notNull)
是否非空
|
TablePropertyDefiner |
primaryKey(boolean primaryKey)
是否主键
|
TablePropertyDefiner |
unique(boolean unique)
是否唯一
|
TablePropertyDefiner id(boolean id)
TablePropertyDefiner columnType(String columnType)
TablePropertyDefiner columnName(String columnName)
TablePropertyDefiner comment(String comment)
TablePropertyDefiner notNull(boolean notNull)
TablePropertyDefiner unique(boolean unique)
TablePropertyDefiner primaryKey(boolean primaryKey)
TablePropertyDefiner check(String check)
TablePropertyDefiner defaultValue(String defaultValue)
TableDefiner done()
Copyright © 2019. All rights reserved.