Simpler Entity
abstract class SimplerEntity<I : Serializable, E : SimplerEntity<I, E>>(var id: I?, var version: Int?, var createdAt: Instant?, var updatedAt: Instant?, var deletedAt: Instant?) : CRUDEntity<I, E> (source)
Simpler variant of CRUDEntity
Parameters
I
Id type of the data
E
Entity type which is a SimplerEntity, meant to be the exact type extending this class
Constructors
Link copied to clipboard
fun <I : Serializable> SimplerEntity(id: I?, version: Int?, createdAt: Instant?, updatedAt: Instant?, deletedAt: Instant?)