Parameters

I

Id type of the data

Constructors

Link copied to clipboard

Inherited properties

Link copied to clipboard
abstract var createdAt: Instant?

Instant at which this entity is created

Link copied to clipboard
abstract var deletedAt: Instant?

Instant at which this entity is logically deleted or null if is not deleted, deleted entities should be treated as if they don't exist at all

Link copied to clipboard
abstract var id: I?

Identifier of this entity

Link copied to clipboard
abstract var updatedAt: Instant?

Instant at which this entity is last updated

Link copied to clipboard
abstract var version: Int?

Version of this entity used in optimistic locking during persistence

Functions

Link copied to clipboard
open override fun createdAt(): Instant

Gets the instant at which this model is created

Link copied to clipboard
open override fun deletedAt(): Instant?

Gets the instant at which this model is deleted

Link copied to clipboard
open override fun id(): I

Gets identifier of this model

Link copied to clipboard
open override fun updatedAt(): Instant

Gets the instant at which this model is last updated

Link copied to clipboard
open override fun version(): Int

Gets version of this model