namespace OmsorgCore.Engine.Events;

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

    public OrderCreatedEvent(Guid orderId)
    {
        OrderId = orderId;
        OccurredAt = DateTime.UtcNow;
    }
}
