From 0f2095bfdcf17bed7909571c7bb9513404a236a2 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Tue, 18 Mar 2025 22:05:25 +0700 Subject: [PATCH] update --- src/entity/asset_purchase_realization.ts | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/entity/asset_purchase_realization.ts b/src/entity/asset_purchase_realization.ts index ad943ac..a7f6d22 100644 --- a/src/entity/asset_purchase_realization.ts +++ b/src/entity/asset_purchase_realization.ts @@ -40,6 +40,57 @@ export class AssetPurchaseRealization { }) difference: number; + @Column({ type: "varchar", length: 255 }) + status: string; + + @Column({ + nullable: true, + length: 4096 + }) + file: string; + + @Column({ type: 'boolean', nullable: true }) + is_spv_approved: boolean; + + @Column({ type: 'varchar', length: 100, nullable: true }) + spv_approved_by: string; + + @Column({ nullable: true }) + spv_approved_at: Date; + + @Column({ type: 'text', nullable: true }) + spv_approved_note: string; + + @Column({ type: 'boolean', nullable: true }) + is_finance_approved: boolean; + + @Column({ type: 'varchar', length: 100, nullable: true }) + finance_approved_by: string; + + @Column({ nullable: true }) + finance_approved_at: Date; + + @Column({ type: 'text', nullable: true }) + finance_approved_note: string; + + @Column({ nullable: true }) + payment_at: Date; + + @Column({ + nullable: true, + length: 4096 + }) + payment_file: string; + + @Column({ + nullable: true, + length: 255 + }) + payment_by: string; + + @Column({ type: 'text', nullable: true }) + payment_note: string; + @Column() @CreateDateColumn() created_at: Date;