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

namespace MembershipService.Domain.Events;

/// <summary>
/// EN: Domain event raised when member profile is updated.
/// VI: Domain event được phát ra khi profile member được cập nhật.
/// </summary>
public class MemberUpdatedDomainEvent : INotification
{
    public Member Member { get; }

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