From 89d60f0e59c4525a6618892af12b2788c9b579b5 Mon Sep 17 00:00:00 2001 From: avicenan Date: Mon, 4 May 2026 11:36:08 +0700 Subject: [PATCH] fix(patient-guarantor): make province, city and zip_code nullable --- src/entity/patient_guarantor.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/entity/patient_guarantor.ts b/src/entity/patient_guarantor.ts index 9852713..a6b5977 100644 --- a/src/entity/patient_guarantor.ts +++ b/src/entity/patient_guarantor.ts @@ -45,16 +45,16 @@ export class PatientGuarantor { phone!: string; // Provinsi tempat tinggal penjamin pasien - @Column({ type: "text", nullable: false }) - province!: string; + @Column({ type: "text", nullable: true }) + province: string; // Kota tempat tinggal penjamin pasien - @Column({ type: "text", nullable: false }) - city!: string; + @Column({ type: "text", nullable: true }) + city: string; // Kode pos tempat tinggal penjamin pasien - @Column({ type: "text", nullable: false }) - zip_code!: string; + @Column({ type: "text", nullable: true }) + zip_code: string; // Nomor perjanjian atau kontrak @Column({ type: "text", nullable: false })