DyTimestampedEntity

interface DyTimestampedEntity

Interface for a timestamped entity.

Properties

Link copied to clipboard
abstract var created_at: Date

Use the below annotations on the implementations. This will automatically set field to be when the entity is created. This will save the Date as a Long (epoch milliseconds).

Link copied to clipboard
abstract var updated_at: Date

Use the below annotations on the implementations. This will automatically set field every time entity is saved. This will save the Date as a Long (epoch milliseconds).