Moved all auth schemas into their own files. Updated imports.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@ export class Table {
|
||||
id: string | undefined;
|
||||
name: string;
|
||||
seats: number;
|
||||
section: Section;
|
||||
section?: Section;
|
||||
isActive: boolean;
|
||||
voucherId?: string;
|
||||
status?: string;
|
||||
|
||||
Reference in New Issue
Block a user