update
This commit is contained in:
@ -2,6 +2,7 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToO
|
|||||||
import { TrxCountry } from "./trx_countries";
|
import { TrxCountry } from "./trx_countries";
|
||||||
import { TrxCurrency } from "./trx_currencies";
|
import { TrxCurrency } from "./trx_currencies";
|
||||||
import { TrxBank } from "./trx_banks";
|
import { TrxBank } from "./trx_banks";
|
||||||
|
import { TrxCostCode } from "../types/trx";
|
||||||
|
|
||||||
@Entity("trx_bank_currencies", { schema: "trx" })
|
@Entity("trx_bank_currencies", { schema: "trx" })
|
||||||
export class TrxBankCurrency {
|
export class TrxBankCurrency {
|
||||||
@ -16,6 +17,12 @@ export class TrxBankCurrency {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
currency: TrxCurrency;
|
currency: TrxCurrency;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 32,
|
||||||
|
})
|
||||||
|
cost_code: TrxCostCode;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user