Files
Nemera/src/Lumina.Domain/Common/Events/IDomainEvent.cs
T

21 lines
577 B
C#

#region ========================================================================= USING =====================================================================================
using System;
#endregion
namespace Lumina.Domain.Common.Events;
/// <summary>
/// Interface defining a domain event.
/// </summary>
public interface IDomainEvent
{
/// <summary>
/// Gets the id of the domain event.
/// </summary>
Guid Id { get; }
/// <summary>
/// Gets the date and time when the domain event occurred.
/// </summary>
DateTime OccurredOn { get; }
}