Big Chunk of updates on way to making the sales portion working
This commit is contained in:
7
bookie/src/app/core/device.ts
Normal file
7
bookie/src/app/core/device.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import {Section} from "./section";
|
||||
|
||||
export class Device {
|
||||
id: string;
|
||||
name: string;
|
||||
section: Section;
|
||||
}
|
||||
@ -1,9 +1,12 @@
|
||||
import {MenuCategory} from "./menu-category";
|
||||
import {Modifier} from "./modifier";
|
||||
|
||||
export class ModifierCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
minimum: number;
|
||||
maximum: number;
|
||||
menuCategories: MenuCategory[];
|
||||
isActive: boolean;
|
||||
menuCategories?: MenuCategory[];
|
||||
modifiers?: Modifier[];
|
||||
}
|
||||
|
||||
@ -6,4 +6,5 @@ export class Modifier {
|
||||
showInBill: boolean;
|
||||
price: number;
|
||||
modifierCategory: ModifierCategory;
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user