From 3ac0dd9cc554a8858f0ea21515bec89dc5b96654 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sat, 15 Nov 2025 01:22:07 +0700 Subject: [PATCH] update --- src/entity/compliance_risk_peps.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/entity/compliance_risk_peps.ts b/src/entity/compliance_risk_peps.ts index 4b5de68..a2e8cc9 100644 --- a/src/entity/compliance_risk_peps.ts +++ b/src/entity/compliance_risk_peps.ts @@ -26,6 +26,16 @@ export class ComplianceRiskPep { }) remarks: string; + @ManyToOne(() => ComplianceRiskPep, { onDelete: "NO ACTION", nullable: true }) + @JoinColumn() + relation_id: ComplianceRiskPep; + + @Column({ + nullable: true, + length: 256, + }) + relation_tpe: string; + @Column({ nullable: false, length: 64,