entity bugs
This commit is contained in:
@@ -12,7 +12,7 @@ export class Product extends BaseEntity {
|
||||
@ManyToOne(() => Category)
|
||||
category: Category
|
||||
|
||||
@OneToMany(() => Attribute, (attr) => attr.productId)
|
||||
@OneToMany(() => Attribute, (attr) => attr.product)
|
||||
attributes = new Collection<Attribute>(this)
|
||||
|
||||
@Property()
|
||||
|
||||
Reference in New Issue
Block a user