entity bugs

This commit is contained in:
2026-01-14 15:19:18 +03:30
parent 209a4fc723
commit aed4a1b333
12 changed files with 35 additions and 24 deletions
@@ -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()