From f66f53f10d001bea99c1cb84e9171f90ed668699 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 26 Oct 2025 02:39:47 +0700 Subject: [PATCH] update --- src/entity/trx_bank_currencies.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/entity/trx_bank_currencies.ts b/src/entity/trx_bank_currencies.ts index 981f129..44968a9 100644 --- a/src/entity/trx_bank_currencies.ts +++ b/src/entity/trx_bank_currencies.ts @@ -2,6 +2,7 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToO import { TrxCountry } from "./trx_countries"; import { TrxCurrency } from "./trx_currencies"; import { TrxBank } from "./trx_banks"; +import { TrxCostCode } from "../types/trx"; @Entity("trx_bank_currencies", { schema: "trx" }) export class TrxBankCurrency { @@ -16,6 +17,12 @@ export class TrxBankCurrency { @JoinColumn() currency: TrxCurrency; + @Column({ + nullable: true, + length: 32, + }) + cost_code: TrxCostCode; + @Column() @CreateDateColumn() created_at: Date;