21 lines
521 B
C#
21 lines
521 B
C#
/// <see cref="MyOffice.Data.Models.Currencies.CurrencyGlobal"/>
|
|
namespace MyOffice.Services.Currency.Domain;
|
|
|
|
using AutoMapper;
|
|
using MyOffice.Data.Models.Currencies;
|
|
|
|
public class CurrencyGlobalDto
|
|
{
|
|
public string Id { get; set; } = null!;
|
|
public string Name { get; set; } = null!;
|
|
public string Symbol { get; set; } = null!;
|
|
public int DefaultQuantity { get; set; }
|
|
}
|
|
|
|
public class CurrencyGlobalDtoProfile: Profile
|
|
{
|
|
public CurrencyGlobalDtoProfile()
|
|
{
|
|
CreateMap<CurrencyGlobal, CurrencyGlobalDto>();
|
|
}
|
|
} |