mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 09:01:10 +00:00
21 lines
577 B
C#
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; }
|
|
} |