Create product cards, display all on products page

This commit is contained in:
2024-09-06 17:10:21 +02:00
parent 5fdf9315c9
commit c1208b5762
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)