SectionPrinter is now working
Migration:
Section, Printers, SectionPrinters working
This commit is contained in:
Amritanshu
2019-06-25 16:44:59 +05:30
parent 142a0f5a8a
commit 7b08fe611f
27 changed files with 546 additions and 30 deletions

View File

@ -0,0 +1,6 @@
export class Printer {
id: string;
name: string;
address: string;
cutCode: string;
}

View File

@ -0,0 +1,17 @@
import {MenuCategory} from "./menu-category";
import {Printer} from "./printer";
export class SectionPrinter {
id: string;
menuCategories: SectionPrinterItem[];
public constructor(init?: Partial<SectionPrinter>) {
Object.assign(this, init);
}
}
export class SectionPrinterItem {
menuCategory: MenuCategory;
printer: Printer;
copies: number;
}