property for reading entire data stack

This commit is contained in:
Timo Hocker 2020-05-02 21:01:08 +02:00
parent 249316858f
commit f2cfbe4f37

View File

@ -16,6 +16,10 @@ export abstract class DatabaseModel {
this.data.id = val; this.data.id = val;
} }
public get data (): Record<string, string|number, boolean> {
return this.data;
}
public constructor (id: number) { public constructor (id: number) {
this.id = id; this.id = id;
} }