This commit is contained in:
fro1991
2025-10-25 23:20:14 +07:00
parent 806b9861fc
commit 08fe324f4f
2 changed files with 3 additions and 7 deletions

View File

@ -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;

View File

@ -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";