Unit test improvements.
This commit is contained in:
1 parent
fe9b68dba0
commit
8145ff1054
22 files changed
+283
-160
No files matched your search
@@ -0,0 +1,17 @@
|
||||
namespace FinancialApi.Domain.Entities;
|
||||
|
||||
public record BalancedJournalEntry
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public string Description { get; init; }
|
||||
public DateTimeOffset CreatedAt { get; init; }
|
||||
public List<JournalLine> Lines { get; init; } = [];
|
||||
|
||||
internal BalancedJournalEntry(Guid id, string description, DateTimeOffset createdAt, List<JournalLine> lines)
|
||||
{
|
||||
Lines = lines;
|
||||
Id = id;
|
||||
Description = description;
|
||||
CreatedAt = createdAt;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user