| 注释类型 | 说明 |
|---|---|
| Column |
The annotation is used when the field name is not Java compliant only.
|
| DataSourceName | |
| DomainModel |
The domain model is a core concept, it holds the logic and status in application,
describes the data structure of database at the same time.
|
| PrimaryKey |
The annotation is used for customizing the primary key
|
| Queryable |
It indicates that can be queried with method "queryBy..."
|
| Relation |
It describes the relation between different domain models and domain models,
such as, a member has many orders, and the relation field will be filled when
querying
public class Member {
|
| Transactional |
It indicates that the methods will be executed in database transaction.
|
| Transient |
It indicates that a field will not be persisted into database.
|
Copyright © 2020 com.github.braisdom. All rights reserved.