类 AbsEntity

java.lang.Object
org.ifinalframework.data.annotation.AbsEntity
所有已实现的接口:
Serializable, IEntity<Long>
直接已知子类:
AbsRecord

@Transient public class AbsEntity extends Object implements IEntity<Long>
The built-in base impl of entity which have the common property. such as id, version,created,lastModified,yn.
 CREATE TABLE tableName
 (
     id            BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '流水号',
     version       INT(11)    NOT NULL DEFAULT 1 COMMENT '版本号',
     created       DATETIME   NOT NULL DEFAULT NOW() COMMENT '创建时间',
     last_modified DATETIME   NULL     DEFAULT NULL ON UPDATE NOW() COMMENT '最后修改时间',
     yn            INT(11)    NOT NULL DEFAULT 1 COMMENT '有效标记,1:有效,0:无效',
     PRIMARY KEY (id)
 )
 
从以下版本开始:
1.0.0
版本:
1.0.0
作者:
ilikly
另请参阅:
  • 构造器详细资料

    • AbsEntity

      public AbsEntity()