Adjust location of classes further.
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
namespace FinancialApi.Domain;
|
||||
using FinancialApi.Domain.Entities;
|
||||
|
||||
namespace FinancialApi.Domain.Aggregates;
|
||||
|
||||
public record BalancedJournal
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace FinancialApi.Domain;
|
||||
namespace FinancialApi.Domain.Entities;
|
||||
|
||||
public record Account(int Id, decimal Balance, string AccountType)
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace FinancialApi.Domain;
|
||||
namespace FinancialApi.Domain.Entities;
|
||||
|
||||
public enum EntryType
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace FinancialApi.Domain;
|
||||
namespace FinancialApi.Domain.Entities;
|
||||
|
||||
public record JournalEntry
|
||||
{
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
namespace FinancialApi.Domain;
|
||||
namespace FinancialApi.Domain.Entities;
|
||||
|
||||
public record JournalLine(int AccountId, decimal Amount, EntryType Type);
|
||||
Reference in New Issue
Block a user