Class UUIDBaseEntity
java.lang.Object
tech.riemann.nif.nutz.dao.service.entity.Entity
tech.riemann.nif.plus.BaseEntity
tech.riemann.nif.plus.UUIDBaseEntity
- All Implemented Interfaces:
Serializable
UUID基础实体类
继承自BaseEntity,添加UUID类型的主键ID字段
适用于使用UUID作为主键的实体类,插入时自动生成UUID
支持MyBatis-Plus和Nutz DAO双框架的UUID生成策略
- Author:
- Kerbores(kerbores@riemann.tech)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tech.riemann.nif.nutz.dao.service.entity.Entity
tech.riemann.nif.nutz.dao.service.entity.Entity.EntityBuilder<C,B> -
Field Summary
FieldsFields inherited from class BaseEntity
createdBy, createdTime, updatedBy, updatedTime -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tech.riemann.nif.nutz.dao.service.entity.Entity
builder, canEqual, equals, exchange, hashCode, toString
-
Field Details
-
id
主键ID使用UUID策略生成的字符串类型主键,插入时自动生成
-
-
Constructor Details
-
UUIDBaseEntity
public UUIDBaseEntity()
-