RenaiApp/src/shared/types/entity-api/base/identifiable.d.ts

11 lines
215 B
TypeScript

/**
* Every database entity should implement this one.
* It does nothing more but guarantee there is an id column.
*/
interface IdentifiableInterface {
/**
* the entity id
*/
readonly id: Identifier;
}