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; phone!: string;
// Provinsi tempat tinggal penjamin pasien // Provinsi tempat tinggal penjamin pasien
@Column({ type: "text", nullable: false }) @Column({ type: "text", nullable: true })
province!: string; province: string;
// Kota tempat tinggal penjamin pasien // Kota tempat tinggal penjamin pasien
@Column({ type: "text", nullable: false }) @Column({ type: "text", nullable: true })
city!: string; city: string;
// Kode pos tempat tinggal penjamin pasien // Kode pos tempat tinggal penjamin pasien
@Column({ type: "text", nullable: false }) @Column({ type: "text", nullable: true })
zip_code!: string; zip_code: string;
// Nomor perjanjian atau kontrak // Nomor perjanjian atau kontrak
@Column({ type: "text", nullable: false }) @Column({ type: "text", nullable: false })