Moved all auth schemas into their own files. Updated imports.

This commit is contained in:
2020-12-21 11:18:58 +05:30
parent c6da3b9e38
commit b85e930ace
54 changed files with 289 additions and 473 deletions

View File

@ -2,13 +2,13 @@ import { MenuCategory } from './menu-category';
import { Printer } from './printer';
export class SectionPrinter {
menuCategory: MenuCategory;
printer: Printer;
menuCategory: MenuCategory | null;
printer: Printer | null;
copies: number;
public constructor(init?: Partial<SectionPrinter>) {
this.menuCategory = new MenuCategory();
this.printer = new Printer();
this.menuCategory = null;
this.printer = null;
this.copies = 0;
Object.assign(this, init);
}

View File

@ -4,7 +4,7 @@ export class Table {
id: string | undefined;
name: string;
seats: number;
section: Section;
section?: Section;
isActive: boolean;
voucherId?: string;
status?: string;