diff --git a/lib/DatabaseModel.ts b/lib/DatabaseModel.ts index 15093d8..3383ee4 100644 --- a/lib/DatabaseModel.ts +++ b/lib/DatabaseModel.ts @@ -16,6 +16,10 @@ export abstract class DatabaseModel { this.data.id = val; } + public get data (): Record { + return this.data; + } + public constructor (id: number) { this.id = id; }