creat order bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user