docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt

- Detaillierter Plan zur Migration von alter zu neuer Modulstruktur
- Umfasst Überführung von shared-kernel zu core-Modulen
- Definiert Migration von Fachdomänen zu bounded contexts:
  * master-data → masterdata-Module
  * member-management → members-Module
  * horse-registry → horses-Module
  * event-management → events-Module
- Beschreibt Verlagerung von api-gateway zu infrastructure/gateway
- Strukturiert nach Domain-driven Design Prinzipien
- Berücksichtigt Clean Architecture Layering (domain, application, infrastructure, api)
This commit is contained in:
stefan
2025-07-25 13:05:42 +02:00
parent a4c7d53aa3
commit 65a0084f91
68 changed files with 13107 additions and 101 deletions
@@ -18,7 +18,7 @@ interface DomainEvent {
/**
* Timestamp when the event occurred.
*/
val timestamp: Instant
val timestamp: java.time.Instant
/**
* Identifier of the aggregate that the event belongs to.
@@ -37,7 +37,7 @@ interface DomainEvent {
*/
abstract class BaseDomainEvent(
override val eventId: Uuid = uuid4(),
override val timestamp: Instant = Clock.System.now(),
override val timestamp: java.time.Instant = java.time.Instant.now(),
override val aggregateId: Uuid,
override val version: Long
) : DomainEvent