Publish from private repository
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/// <see cref="MyOffice.Data.Models.Currencies.CurrencyGlobal"/>
|
||||
/// <see cref="MyOffice.Services.Currency.Domain.CurrencyGlobalDto"/>
|
||||
namespace MyOffice.Web.Models.Currency;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Services.Currency.Domain;
|
||||
|
||||
public class CurrencyGlobalViewModel: IResponseModel
|
||||
{
|
||||
public string Id { get; set; } = null!;
|
||||
public string Name { get; set; } = null!;
|
||||
public int Quantity { get; set; }
|
||||
public string Symbol { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class CurrencyGlobalViewModelProfile : Profile
|
||||
{
|
||||
public CurrencyGlobalViewModelProfile()
|
||||
{
|
||||
CreateMap<CurrencyGlobalDto, CurrencyGlobalViewModel>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user