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;