CurrencyEntity
表:currency。
- id: number — 主键
- currency: string — 全名(如 US Dollar)
- symbol: string — 如 $
- code: string — ISO 代码(如 USD)
- decimalPlace: number — 显示小数位
CurrencyExchangeRateEnity
表:currency_exchange_rate。核心中类名拼写为 Enity。
- id: number — 主键
- fromCurrencyId / toCurrencyId: number
- rate: number — 汇率
- fromCurrency / toCurrency: CurrencyEntity