using MediatR;

namespace MktXService.Domain.Events;

/// <summary>
/// EN: Domain event raised when a contact is tagged.
/// VI: Domain event được phát ra khi liên hệ được gắn tag.
/// </summary>
public class ContactTaggedDomainEvent : INotification
{
    /// <summary>
    /// EN: The contact ID.
    /// VI: ID liên hệ.
    /// </summary>
    public Guid ContactId { get; }

    /// <summary>
    /// EN: The tag name.
    /// VI: Tên tag.
    /// </summary>
    public string TagName { get; }

    public ContactTaggedDomainEvent(Guid contactId, string tagName)
    {
        ContactId = contactId;
        TagName = tagName;
    }
}
