mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-12 03:12:11 +08:00
14 lines
263 B
C#
14 lines
263 B
C#
using BuildingBlocks.Core.Event;
|
|
|
|
namespace BuildingBlocks.Core.Model;
|
|
|
|
public interface IAggregate<T> : IAggregate, IEntity<T>
|
|
{
|
|
}
|
|
|
|
public interface IAggregate : IEntity
|
|
{
|
|
IReadOnlyList<IDomainEvent> DomainEvents { get; }
|
|
IEvent[] ClearDomainEvents();
|
|
}
|