creat order bug

This commit is contained in:
2026-01-17 17:58:49 +03:30
parent 60fbf26d97
commit e07075a7c5
10 changed files with 129 additions and 119 deletions
@@ -7,7 +7,7 @@ import { AttributeValue } from './attribute-value.entity';
@Entity({ tableName: 'attributes' })
export class Attribute extends BaseEntity {
@ManyToOne(() => Product)
product: Product
product!: Product
@ManyToOne(() => Attribute, { nullable: true })
parent?: Attribute | null