New products, productDetail dialog offers a specs category

This commit is contained in:
2024-09-20 23:20:03 +02:00
parent 89e91c3213
commit 3863661b3c
61 changed files with 208 additions and 84 deletions

View File

@@ -3,6 +3,7 @@ export class ProductModel {
brand: string
name: string
description: string = ""
specs: Array<string> = []
categoryId: number
price: number = 0
discount: number = 0

View File

@@ -5,6 +5,7 @@ export class ProductWithCategoryModel {
brand: string
name: string
description: string = ""
specs: Array<string> = []
category: CategoryModel = new CategoryModel()
price: number = 0
discount: number = 0