namespace OmsorgCore.Engine.Events;

/// <summary>
/// Ereignis für neu angelegte Einrichtungen (Core-Objekt "Einrichtung", REQUIREMENTS.md Abschnitt 6).
/// </summary>
public class FacilityCreatedEvent : IDomainEvent
{
    public Guid FacilityId { get; }
    public DateTime OccurredAt { get; }

    public FacilityCreatedEvent(Guid facilityId)
    {
        FacilityId = facilityId;
        OccurredAt = DateTime.UtcNow;
    }
}
