using MediatR;
using MktXService.Domain.AggregatesModel.SampleAggregate;

namespace MktXService.Domain.Events;

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

    public SampleCreatedDomainEvent(Sample sample)
    {
        Sample = sample;
    }
}
