Create product cards, display all on products page
This commit is contained in:
@@ -20,6 +20,9 @@ export class Product extends Model {
|
||||
|
||||
@Column
|
||||
discount: number
|
||||
|
||||
@Column
|
||||
rating: number
|
||||
|
||||
// Relations
|
||||
@BelongsTo(() => Category)
|
||||
|
||||
Reference in New Issue
Block a user