CRUDModel

interface CRUDModel<out I : Serializable>(source)

Base model of a data model

Parameters

I

Id type of the data

Inheritors

Functions

Link copied to clipboard
abstract fun createdAt(): Instant

Gets the instant at which this model is created

Link copied to clipboard
abstract fun deletedAt(): Instant?

Gets the instant at which this model is deleted

Link copied to clipboard
abstract fun id(): I

Gets identifier of this model

Link copied to clipboard
abstract fun updatedAt(): Instant

Gets the instant at which this model is last updated

Link copied to clipboard
abstract fun version(): Int

Gets version of this model