Simple Entity
abstract class SimpleEntity<I : Serializable, E : SimpleEntity<I, E>>(var id: I?, var version: Int?, var createdAt: Instant?, var updatedAt: Instant?, var deletedAt: Instant?) : CRUDEntity<I, E> (source)
Simple variant of CRUDEntity
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> SimpleEntity(id: I?, version: Int?, createdAt: Instant?, updatedAt: Instant?, deletedAt: Instant?)