using MediatR;

namespace StorageService.Domain.Events;

/// <summary>
/// EN: Event raised when a multipart upload is initiated.
/// VI: Event được raise khi multipart upload được khởi tạo.
/// </summary>
public class MultipartUploadInitiatedDomainEvent : INotification
{
    public Guid UploadId { get; }
    public string FileName { get; }
    public string UserId { get; }
    public long TotalSizeBytes { get; }

    public MultipartUploadInitiatedDomainEvent(Guid uploadId, string fileName, string userId, long totalSizeBytes)
    {
        UploadId = uploadId;
        FileName = fileName;
        UserId = userId;
        TotalSizeBytes = totalSizeBytes;
    }
}
