From 2f32da44e410f50571eac965c9ea9ce34b21aa9f Mon Sep 17 00:00:00 2001 From: "fazri.is" Date: Thu, 21 Aug 2025 03:29:28 +0700 Subject: [PATCH] update Eform Request --- src/entity/eform_financials.ts | 3 --- src/entity/eform_requests.ts | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entity/eform_financials.ts b/src/entity/eform_financials.ts index 8de3b5d..0e4cb10 100644 --- a/src/entity/eform_financials.ts +++ b/src/entity/eform_financials.ts @@ -28,9 +28,6 @@ export class EformFinancial { @Column({ type: "float8", nullable: true }) daily_transaction: number; - // @ManyToMany(() => EformFinancialBank, (bank) => bank.financial) - // financial_bank: EformFinancialBank[]; - @OneToMany(() => EformFinancialBank, (bank) => bank.financial, { cascade: true }) financial_bank: EformFinancialBank[]; diff --git a/src/entity/eform_requests.ts b/src/entity/eform_requests.ts index f7563fc..737898a 100644 --- a/src/entity/eform_requests.ts +++ b/src/entity/eform_requests.ts @@ -82,6 +82,9 @@ export class EformRequest { }) status: EformRequestStatusType; + @Column({ nullable: true }) + visited_at: Date; + @Column({ nullable: true }) requested_at: Date;