fix
This commit is contained in:
@@ -8,6 +8,7 @@ public class Account
|
||||
public string CurrencyGlobalId { get; set; } = null!;
|
||||
public CurrencyGlobal? CurrencyGlobal { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
//public bool IsRest { get; set; }
|
||||
public IEnumerable<AccountAccess>? AccessRights { get; set; }
|
||||
public IEnumerable<Motion>? Motions { get; set; }
|
||||
public IEnumerable<AccountAccountCategory>? Categories { get; set; }
|
||||
@@ -19,4 +20,16 @@ public class AccountDetailed
|
||||
public decimal TotalPlus { get; set; }
|
||||
public decimal TotalMinus { get; set; }
|
||||
public decimal Rest => TotalPlus - TotalMinus;
|
||||
}
|
||||
}
|
||||
|
||||
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 decimal? TotalPlus { get; set; }
|
||||
public decimal? TotalMinus { get; set; }
|
||||
public decimal? Rest { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user