Genral clean up and moving of code.

This commit is contained in:
2026-07-30 17:01:33 +02:00
parent b37ca9222d
commit 2abe392890
19 changed files with 141 additions and 18 deletions
@@ -0,0 +1,3 @@
namespace FinancialApi.Domain.Events;
public record FeeAppliedEvent(int AccountId, decimal Amount);
@@ -0,0 +1,3 @@
namespace FinancialApi.Domain.Events;
public record FundsTransferredEvent(int SourceAccountId, int DestinationAccountId, decimal Amount);
@@ -0,0 +1,6 @@
namespace FinancialApi.Domain.Events;
public interface IEventTracker
{
void Add(string eventMessage);
}
@@ -0,0 +1,3 @@
namespace FinancialApi.Domain.Events;
public record JournalReversedEvent(Guid OriginalJournalId, Guid ReversalJournalId);