fix(patient-guarantor): make province, city and zip_code nullable

This commit is contained in:
avicenan
2026-05-04 11:36:08 +07:00
parent 63a06ebced
commit 89d60f0e59

View File

@ -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 })