"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toExchangeRateResponse = toExchangeRateResponse;
function toExchangeRateResponse(exchangeRate) {
    return {
        id: exchangeRate.id,
        currency: exchangeRate.currency,
        rate_idr: Number(exchangeRate.rate_idr),
        created_at: exchangeRate.created_at,
        updated_at: exchangeRate.updated_at,
    };
}
