Annotation mark the entity to mapping the table of database.请参阅: 说明
| 接口 | 说明 |
|---|---|
| NameConverter |
| 类 | 说明 |
|---|---|
| AbsEntity |
The build-in base impl of entity which have the common property. such as
AbsEntity.id, AbsEntity.version,AbsEntity.created,AbsEntity.lastModified,AbsEntity.yn. |
| AbsRecord | |
| AbsUser | |
| Metadata | |
| SqlKeyWords |
| 枚举 | 说明 |
|---|---|
| PersistentType |
持久化类型
|
| ReferenceMode |
引用模式
|
| YN |
是否有效枚举,用于标记记录是否有效。
|
| 注释类型 | 说明 |
|---|---|
| AutoInc |
A marker annotation to annotated the
PrimaryKey use auto incr. |
| Column | |
| Created | |
| Creator | |
| EnumValue | |
| Function |
Mark the target is a function column.
|
| Geometry | |
| Json | |
| Keyword |
Annotate the
property is a sql keyword which should be warped like `{property}`. |
| LastModified |
define default value with ddl
DEFAULT NULL ON UPDATE NOW. |
| LastModifier |
Annotate the property represent a last modifier.
|
| NonCompare | |
| Order | |
| Prefix |
Annotation the property which have a prefix value.
|
| PrimaryKey |
Marked the element is a primary key.
|
| ReadOnly | |
| Reference | |
| Schema | |
| Table |
Annotate the entity mapping a special table in datasource by
Table.value(). |
| TypeHandler |
TypeHandler.
|
| UpperCase | |
| Version | |
| View |
视图,根据视图生成SQL。
|
| Virtual |
Marked the element is a virtual property, it's value generated by a json.
|
| WriteOnly |
Mark the element is a
WriteOnly property which will not be generated select. |
Annotation mark the entity to mapping the table of database.Copyright © 2021. All rights reserved.