From 1464e6a05dc95cda9f95b8a13d6c6e07723be6d4 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Tue, 31 Mar 2026 13:04:16 +0700 Subject: [PATCH] update: add new field maximal_liability to patient guarantor --- src/entity/patient_guarantor.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/entity/patient_guarantor.ts b/src/entity/patient_guarantor.ts index 38d802c..9354841 100644 --- a/src/entity/patient_guarantor.ts +++ b/src/entity/patient_guarantor.ts @@ -44,6 +44,12 @@ export class PatientGuarantor { @Column({ type: "text", nullable: true }) agreement_desc?: string; + @Column({ + nullable: true, + type: 'bigint' + }) + maximal_liability: number; + // Relasi ke PatientGroup, setiap penjamin dapat terhubung dengan satu grup pasien @ManyToOne(() => PatientGroup, { nullable: false }) @JoinColumn({ name: "patient_group_id" })