您的浏览器已禁用 JavaScript。
跳过导航链接
模块
程序包
类
树
索引
帮助
概要:
字段 |
可选
|
必需
详细资料:
字段 |
元素
SEARCH:
模块
afternode.commons.database.main
程序包
cn.afternode.commons.database.annotations
Annotation Interface SQLSerialization.Column
封闭类:
SQLSerialization
@Retention
(
RUNTIME
)
@Target
(
FIELD
)
public static @interface
SQLSerialization.Column
Markup for SQL column
必需元素概要
所需元素
修饰符和类型
必需的元素
说明
String
name
Column name
可选元素概要
可选元素
修饰符和类型
可选元素
说明
boolean
asJson
Serialize object to json with GSON, only works in AUTO type
boolean
notNull
Set this value cannot be null
boolean
primaryKey
Mark as primary key, not supports TEXT type
SQLTypes
type
Column type, default to AUTO
元素详细资料
name
String
name
Column name
type
SQLTypes
type
Column type, default to AUTO
默认值:
AUTO
notNull
boolean
notNull
Set this value cannot be null
默认值:
false
primaryKey
boolean
primaryKey
Mark as primary key, not supports TEXT type
默认值:
false
asJson
boolean
asJson
Serialize object to json with GSON, only works in AUTO type
默认值:
false