ProductCard redesigned, add property for number of items in stock for product
This commit is contained in:
1 parent
1f48ec6ae1
commit
eb84351231
10 files changed
+212
-72
No files matched your search
@@ -47,6 +47,9 @@ export class Product extends Model {
|
||||
}
|
||||
})
|
||||
specs: Array<string>
|
||||
|
||||
@Column
|
||||
storedItems: number
|
||||
|
||||
// Relations
|
||||
@BelongsTo(() => Category)
|
||||
|
||||
Reference in new issue
Block a user