daily_digest/Models/CurrencyData.cs
2025-04-12 00:27:03 +07:00

10 lines
471 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace DailyDigestWorker.Models
{
// Простая модель для хранения курсов валют
public class CurrencyData
{
// Используем словарь: Код валюты (USD/EUR) -> Курс (decimal)
public Dictionary<string, decimal> Rates { get; } = new Dictionary<string, decimal>();
public DateTime Date { get; set; } // Дата, на которую установлены курсы
}
}