This commit is contained in:
2023-06-17 14:16:09 +03:00
parent 62178f1f32
commit 7ae5d3bc81
180 changed files with 12932 additions and 192 deletions
@@ -0,0 +1,9 @@
namespace MyOffice.Services.Account.Domain
{
public class AccountAdd
{
public string Name { get; set; } = null!;
public string CurrencyId { get; set; } = null!;
public Guid CategoryId { get; set; }
}
}
@@ -0,0 +1,10 @@
namespace MyOffice.Services.Account.Domain
{
public enum AccountAddResult
{
success,
failure,
category_not_found,
currency_not_found,
}
}
@@ -0,0 +1,10 @@
namespace MyOffice.Services.Account.Domain
{
public enum AccountCategoryRemoveResult
{
success,
failure,
not_found,
accounts_exists,
}
}
@@ -0,0 +1,9 @@
namespace MyOffice.Services.Account.Domain;
public class AccountEdit
{
public string Name { get; set; } = null!;
public string CurrencyId { get; set; } = null!;
public Guid? CategoryId { get; set; }
public Guid? UserId { get; set; }
}
@@ -0,0 +1,10 @@
namespace MyOffice.Services.Account.Domain;
public enum AccountEditResult
{
success,
failure,
not_found,
category_not_found,
currency_not_found,
}
@@ -0,0 +1,11 @@
namespace MyOffice.Services.Account.Domain
{
public class AccountMotionAdd
{
public DateTime Date { get; set; }
public string Motion { get; set; } = null!;
public string Description { get; set; } = null!;
public decimal Plus { get; set; }
public decimal Minus { get; set; }
}
}
@@ -0,0 +1,8 @@
namespace MyOffice.Services.Account.Domain;
public enum AccountMotionAddResult
{
success,
failure,
account_not_found,
}