update
This commit is contained in:
@ -3,15 +3,11 @@ import { TrxCountry } from "./trx_countries";
|
||||
import { TrxCurrency } from "./trx_currencies";
|
||||
import { TrxBank } from "./trx_banks";
|
||||
|
||||
@Entity("trx_country_bank_currencies", { schema: "trx" })
|
||||
export class TrxCountryBankCurrency {
|
||||
@Entity("trx_bank_currencies", { schema: "trx" })
|
||||
export class TrxBankCurrency {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => TrxCountry, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
country: TrxCountry;
|
||||
|
||||
@ManyToOne(() => TrxBank, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
bank: TrxBank;
|
||||
@ -8,7 +8,7 @@ export * from "../entity/trx_customer_costs";
|
||||
export * from "../entity/trx_countries";
|
||||
export * from "../entity/trx_currencies";
|
||||
export * from "../entity/trx_country_currencies";
|
||||
export * from "../entity/trx_country_bank_currencies";
|
||||
export * from "../entity/trx_bank_currencies";
|
||||
export * from "../entity/trx_currency_rates";
|
||||
export * from "../entity/trx_banks";
|
||||
export * from "../entity/trx_bank_swifts";
|
||||
|
||||
Reference in New Issue
Block a user