Feature:
SectionPrinter is now working Migration: Section, Printers, SectionPrinters working
This commit is contained in:
6
bookie/src/app/core/printer.ts
Normal file
6
bookie/src/app/core/printer.ts
Normal file
@ -0,0 +1,6 @@
|
||||
export class Printer {
|
||||
id: string;
|
||||
name: string;
|
||||
address: string;
|
||||
cutCode: string;
|
||||
}
|
||||
17
bookie/src/app/core/section-printer.ts
Normal file
17
bookie/src/app/core/section-printer.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user