Documenting, restructure and expand API
This commit is contained in:
@@ -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 = ""
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user