TypeORM OneToMany 与多个字段的关系

nob*_*000 5 postgresql typeorm

如何在TypeORM中制作类似这样的方案

实体孩子:

@Field(() => Parent, { nullable: true })
@ManyToOne(() => Parent, (parent) => parent.children)
father: Parent;

@Field(() => Parent, { nullable: true })
@ManyToOne(() => Parent, (parent) => parent.children)
mother: Parent;
Run Code Online (Sandbox Code Playgroud)

实体父级:

@OneToMany(() => Child, 'mother') // missing father
children: Child[];
Run Code Online (Sandbox Code Playgroud)

我的问题是如何在实体 Parent 上建立与AND 的OneToMany关系。motherfather