Tax done
This commit is contained in:
10
bookie/src/app/core/product-group.ts
Normal file
10
bookie/src/app/core/product-group.ts
Normal file
@ -0,0 +1,10 @@
|
||||
export class ProductGroup {
|
||||
id: string;
|
||||
name: string;
|
||||
discountLimit: number;
|
||||
isModifierCompulsory: boolean;
|
||||
groupModifier: string;
|
||||
isActive: boolean;
|
||||
isFixture: boolean;
|
||||
sortOrder: number;
|
||||
}
|
||||
17
bookie/src/app/core/product.ts
Normal file
17
bookie/src/app/core/product.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import {ProductGroup} from './product-group';
|
||||
import {Tax} from "./tax";
|
||||
|
||||
export class Product {
|
||||
id: string;
|
||||
code: number;
|
||||
name: string;
|
||||
units: string;
|
||||
productGroup: ProductGroup;
|
||||
tax: Tax;
|
||||
price: number;
|
||||
hasHappyHour: boolean;
|
||||
isNotAvailable: boolean;
|
||||
quantity: number;
|
||||
isActive: boolean;
|
||||
sortOrder: number;
|
||||
}
|
||||
6
bookie/src/app/core/tax.ts
Normal file
6
bookie/src/app/core/tax.ts
Normal file
@ -0,0 +1,6 @@
|
||||
export class Tax {
|
||||
id: string;
|
||||
name: string;
|
||||
rate: number;
|
||||
isFixture: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user