using MediatR;
using MktXService.Domain.AggregatesModel.CampaignAggregate;

namespace MktXService.Domain.Events;

/// <summary>
/// EN: Domain event raised when a campaign is completed.
/// VI: Domain event được phát ra khi chiến dịch hoàn thành.
/// </summary>
public class CampaignCompletedDomainEvent : INotification
{
    public Guid CampaignId { get; }
    public CampaignMetrics Metrics { get; }

    public CampaignCompletedDomainEvent(Guid campaignId, CampaignMetrics metrics)
    {
        CampaignId = campaignId;
        Metrics = metrics;
    }
}
