ProductCard redesigned, add property for number of items in stock for product

This commit is contained in:
2024-09-22 15:06:10 +02:00
parent 1f48ec6ae1
commit eb84351231
10 changed files with 212 additions and 72 deletions

View File

@@ -47,6 +47,9 @@ export class Product extends Model {
}
})
specs: Array<string>
@Column
storedItems: number
// Relations
@BelongsTo(() => Category)