fix
This commit is contained in:
@@ -2,13 +2,21 @@
|
||||
|
||||
using Currencies;
|
||||
|
||||
public enum AccountTypeEnum
|
||||
{
|
||||
debit,
|
||||
credit,
|
||||
transit,
|
||||
other,
|
||||
}
|
||||
|
||||
public class Account
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string CurrencyGlobalId { get; set; } = null!;
|
||||
public CurrencyGlobal? CurrencyGlobal { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
//public bool IsRest { get; set; }
|
||||
public AccountTypeEnum Type { get; set; }
|
||||
public IEnumerable<AccountAccess>? AccessRights { get; set; }
|
||||
public IEnumerable<Motion>? Motions { get; set; }
|
||||
public IEnumerable<AccountAccountCategory>? Categories { get; set; }
|
||||
@@ -26,10 +34,11 @@ public struct AccountSimple
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string CurrencyId { get; set; }
|
||||
public string CurrencyShortName { get; set; }
|
||||
public decimal CurrencyRate { get; set; }
|
||||
public string? CurrencyName { get; set; }
|
||||
public string? CurrencyShortName { get; set; }
|
||||
public decimal? CurrencyRate { get; set; }
|
||||
public int? CurrencyQuantity { get; set; }
|
||||
public decimal? TotalPlus { get; set; }
|
||||
public decimal? TotalMinus { get; set; }
|
||||
public decimal? Rest { get; set; }
|
||||
public decimal? Balance { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user