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