程序包 org.ifinalframework.data.annotation
package org.ifinalframework.data.annotation
Use
Annotation mark the entity to mapping the table of database.- 从以下版本开始:
- 1.0.0
- 版本:
- 1.0.0
- 作者:
- ilikly
-
类说明The built-in base impl of entity which have the common property. such as
AbsEntity.id,AbsEntity.version,AbsEntity.created,AbsEntity.lastModified,AbsEntity.yn.A marker annotation to annotated thePrimaryKeyuse auto incr.Mark the target is a function column.Annotate thepropertyis a sql keyword which should be warped like `{property}`.define default value with ddlDEFAULT NULL ON UPDATE NOW. would not be generated sql wheninsertandupdate.Annotate the property represent a last modifier.持久化类型Annotation the property which have a prefix value.Marked the element is a primary key.引用模式Annotate the entity mapping a special table in datasource byTable.value().Tenant.TypeHandler.视图,根据视图生成SQL。Marked the element is a virtual property, it's value generated by a json.Mark the element is aWriteOnlyproperty which will not be generated select.是否有效枚举,用于标记记录是否有效。