Publish from private repository
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/// <see cref="MyOffice.Data.Models.Currencies.CurrencyRate"/>
|
||||
namespace MyOffice.Services.Currency.Domain;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Data.Models.Currencies;
|
||||
|
||||
public class CurrencyRateDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid CurrencyId { get; set; }
|
||||
public CurrencyDto? Currency { get; set; }
|
||||
public DateTime DateTime { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public decimal Rate { get; set; }
|
||||
public List<CurrencyDto>? Currencies { get; set; }
|
||||
}
|
||||
|
||||
public class CurrencyRateDtoProfile : Profile
|
||||
{
|
||||
public CurrencyRateDtoProfile()
|
||||
{
|
||||
CreateMap<CurrencyRate, CurrencyRateDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user