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

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
export class Printer {
id: string;
name: string;
address: string;
cutCode: string;
}
+17
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;
}