Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseEntity

Base Entity

This base entity class is used as the abstract parent of all other entity classes. This enables common table metadata configuration for columns like id, updatedAt, createdAt etc. to be shared consistently across entities

Hierarchy

Index

Properties

Properties

createdAt

createdAt: Date

Metadata column used for signifying the date the record was created

id

id: string

The primary key record identifier. Used for uniquiely identifying records and for cross-table joins. UUID is used to enable records from different tables to be combined into one dataset without causing ID collisions

updatedAt

updatedAt: Date

Metadata column used for signifying the date the record was last updated

Generated using TypeDoc