Feature:
SectionPrinter is now working Migration: Section, Printers, SectionPrinters working
This commit is contained in:
1 parent
142a0f5a8a
commit
7b08fe611f
27 files changed
+546
-30
No files matched your search
@@ -0,0 +1,6 @@
|
||||
export class Printer {
|
||||
id: string;
|
||||
name: string;
|
||||
address: string;
|
||||
cutCode: string;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user