ProductCard redesigned, add property for number of items in stock for product
This commit is contained in:
@@ -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