namespace OmsorgCore.Engine.Events;

/// <summary>
/// Ereignis für neu angelegte Verträge (Core-Objekt "Vertrag", REQUIREMENTS.md Abschnitt 6).
/// </summary>
public class ContractCreatedEvent : IDomainEvent
{
    public Guid ContractId { get; }
    public DateTime OccurredAt { get; }

    public ContractCreatedEvent(Guid contractId)
    {
        ContractId = contractId;
        OccurredAt = DateTime.UtcNow;
    }
}
