property for reading entire data stack
This commit is contained in:
parent
249316858f
commit
f2cfbe4f37
@ -16,6 +16,10 @@ export abstract class DatabaseModel {
|
||||
this.data.id = val;
|
||||
}
|
||||
|
||||
public get data (): Record<string, string|number, boolean> {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public constructor (id: number) {
|
||||
this.id = id;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user