2020-04-10 04:04:13 +02:00
|
|
|
/**
|
|
|
|
* Every database entity should implement this one.
|
|
|
|
* It does nothing more but guarantee there is an id column.
|
|
|
|
*/
|
2021-01-24 19:11:45 +01:00
|
|
|
interface IdentifiableInterface {
|
2020-04-10 04:04:13 +02:00
|
|
|
/**
|
|
|
|
* the entity id
|
|
|
|
*/
|
2021-01-24 19:11:45 +01:00
|
|
|
readonly id: Identifier;
|
2020-04-10 04:04:13 +02:00
|
|
|
}
|