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

namespace MktXService.Domain.Events;

/// <summary>
/// EN: Domain event raised when a campaign is started.
/// VI: Domain event được phát ra khi chiến dịch được bắt đầu.
/// </summary>
public class CampaignStartedDomainEvent : INotification
{
    public Guid CampaignId { get; }
    public int TargetSegmentCount { get; }

    public CampaignStartedDomainEvent(Guid campaignId, int targetSegmentCount)
    {
        CampaignId = campaignId;
        TargetSegmentCount = targetSegmentCount;
    }
}
