update
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user