RenaiApp/src/main/entities/library/identifiable-entity-interfa...

11 lines
208 B
TypeScript

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