update: add new field maximal_liability to patient guarantor
This commit is contained in:
@ -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" })
|
||||
|
||||
Reference in New Issue
Block a user