namespace MyOffice.Web.Models.Currency;

using AutoMapper;
using MyOffice.Services.Currency.Domain;

public class CurrencyRateViewModel: BaseViewModel
{
	public string Currency { get; set; } = null!;
	public DateTime DateTime { get; set; }
	public int Quantity { get; set; }
	public decimal Rate { get; set; }
}

public class CurrencyRateViewModelProfile: Profile
{
	public CurrencyRateViewModelProfile()
	{
		CreateMap<CurrencyRateDto, CurrencyRateViewModel>();
	}
}