22 lines
631 B
C#
22 lines
631 B
C#
namespace MyOffice.Services.Currency.Domain;
|
|
|
|
using MyOffice.Data.Models.Currencies;
|
|
using MyOffice.Data.Models.Users;
|
|
|
|
public class CurrencyDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string CurrencyGlobalId { get; set; } = null!;
|
|
public CurrencyGlobal? CurrencyGlobal { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public User? User { get; set; }
|
|
|
|
public string Name { get; set; } = null!;
|
|
public string ShortName { get; set; } = null!;
|
|
public IEnumerable<CurrencyRate>? Rates { get; set; }
|
|
|
|
public int? CurrentRateId { get; set; }
|
|
public CurrencyRate? CurrentRate { get; set; }
|
|
|
|
public bool IsPrimary { get; set; }
|
|
} |