using MediatR;
using MembershipService.Domain.AggregatesModel.MemberAggregate;

namespace MembershipService.Domain.Events;

/// <summary>
/// EN: Domain event raised when a new member is created.
/// VI: Domain event được phát ra khi member mới được tạo.
/// </summary>
public class MemberCreatedDomainEvent : INotification
{
    public Member Member { get; }

    public MemberCreatedDomainEvent(Member member)
    {
        Member = member;
    }
}
