Documenting, restructure and expand API

This commit is contained in:
2024-09-13 12:07:33 +02:00
parent 39ce77ea63
commit 2847bd940f
13 changed files with 877 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
export class CategoryModel {
id: number = -1
name: string = "All"
icon: string = "mdi-all-inclusive"
name: string
icon: string
createdAt: string = ""
updatedAt: string = ""
}

View File

@@ -1,9 +1,9 @@
export class ProductModel {
id: number = -1
brand: string = ""
name: string = ""
brand: string
name: string
description: string = ""
categoryId: number = 0
categoryId: number
price: number = 0
discount: number = 0
rating: number = 1