Create product cards, display all on products page

This commit is contained in:
2024-09-06 17:10:21 +02:00
parent 22cc811ae5
commit babf1c77ce
11 changed files with 253 additions and 19 deletions

View File

@@ -20,6 +20,9 @@ export class Product extends Model {
@Column
discount: number
@Column
rating: number
// Relations
@BelongsTo(() => Category)