Abstract
A record with a stable id.
💡 Pass the id to super from your subclass constructor.
super
import { DbmsEntity } from "@itsaorg/dbms-base";class Note extends DbmsEntity { constructor() { super("note-1"); }} Copy
import { DbmsEntity } from "@itsaorg/dbms-base";class Note extends DbmsEntity { constructor() { super("note-1"); }}
DbmsEntityInterface
Protected
Records the entity id.
The identifier that stays with this record.
Readonly
The record identifier.
A record with a stable id.
💡 Pass the id to
superfrom your subclass constructor.Example
See
DbmsEntityInterface