property for reading entire data stack
This commit is contained in:
		@@ -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;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user