Modifier Category table added as a parent of modifiers
They are also linked to products / menu categroies as to which products they can be used on The linking to menu categories is done in the frontend, database is linked directly to products Treeview for menu categories yet to be done in modifier category detail form
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import {Product} from "./product";
|
||||
|
||||
export class MenuCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
@ -6,4 +8,6 @@ export class MenuCategory {
|
||||
isActive: boolean;
|
||||
isFixture: boolean;
|
||||
sortOrder: number;
|
||||
products: Product[];
|
||||
enabled?: boolean;
|
||||
}
|
||||
|
||||
@ -14,4 +14,6 @@ export class Product {
|
||||
quantity: number;
|
||||
isActive: boolean;
|
||||
sortOrder: number;
|
||||
|
||||
enabled?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user