using MediatR;

namespace FacebookService.Domain.Events;

/// <summary>
/// EN: Domain event raised when a new ChatbotFlow is created.
/// VI: Domain event được phát ra khi một ChatbotFlow mới được tạo.
/// </summary>
public class ChatbotFlowCreatedDomainEvent : INotification
{
    /// <summary>
    /// EN: The newly created chatbot flow.
    /// VI: ChatbotFlow mới được tạo.
    /// </summary>
    public AggregatesModel.ChatbotAggregate.ChatbotFlow ChatbotFlow { get; }

    public ChatbotFlowCreatedDomainEvent(AggregatesModel.ChatbotAggregate.ChatbotFlow chatbotFlow)
    {
        ChatbotFlow = chatbotFlow;
    }
}
