update
This commit is contained in:
@ -4,6 +4,7 @@ import { TrxCustomerType } from "../types/trx";
|
|||||||
import { TrxBank } from "./trx_banks";
|
import { TrxBank } from "./trx_banks";
|
||||||
import { TrxBankSwift } from "./trx_bank_swifts";
|
import { TrxBankSwift } from "./trx_bank_swifts";
|
||||||
import { TrxBankCurrency } from "./trx_bank_currencies";
|
import { TrxBankCurrency } from "./trx_bank_currencies";
|
||||||
|
import { TrxCountry } from "./trx_countries";
|
||||||
|
|
||||||
@Entity("trx_receivers", { schema: "trx" })
|
@Entity("trx_receivers", { schema: "trx" })
|
||||||
export class TrxReceiver {
|
export class TrxReceiver {
|
||||||
@ -33,6 +34,10 @@ export class TrxReceiver {
|
|||||||
})
|
})
|
||||||
email: string;
|
email: string;
|
||||||
|
|
||||||
|
@ManyToOne(() => TrxCountry, { onDelete: "NO ACTION", nullable: true })
|
||||||
|
@JoinColumn()
|
||||||
|
country: TrxCountry;
|
||||||
|
|
||||||
@ManyToOne(() => TrxBank, { onDelete: "NO ACTION" })
|
@ManyToOne(() => TrxBank, { onDelete: "NO ACTION" })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
bank: TrxBank;
|
bank: TrxBank;
|
||||||
|
|||||||
Reference in New Issue
Block a user