using MediatR;

namespace FacebookService.Domain.Events;

/// <summary>
/// EN: Domain event raised when conversation is assigned to an agent.
/// VI: Domain event được phát ra khi conversation được gán cho agent.
/// </summary>
public class ConversationAssignedDomainEvent : INotification
{
    /// <summary>
    /// EN: The conversation ID. / VI: ID của conversation.
    /// </summary>
    public Guid ConversationId { get; }

    /// <summary>
    /// EN: The assigned agent ID. / VI: ID agent được gán.
    /// </summary>
    public string AgentId { get; }

    public ConversationAssignedDomainEvent(Guid conversationId, string agentId)
    {
        ConversationId = conversationId;
        AgentId = agentId;
    }
}
