CRUDEntity
@MappedSuperclass
Base entity of a data model representing its persisted structure
Parameters
I
Id type of the data
E
Entity type which is a CRUDEntity, meant to be the exact type extending this class
Constructors
Link copied to clipboard
fun <I : Serializable> CRUDEntity(id: I?, version: Int?, createdAt: Instant?, updatedAt: Instant?, deletedAt: Instant?)
Properties
Functions
Link copied to clipboard
Marks this entity as deleted at given time, also setting updated at and incrementing its version
Link copied to clipboard
Marks this entity as updated at given time, also incrementing its version