using StorageService.Domain.SeedWork;
using MediatR;

namespace StorageService.Domain.Events;

/// <summary>
/// EN: Event raised when a file is logically deleted.
/// VI: Event được raise khi file bị xóa (soft delete).
/// </summary>
public class FileDeletedDomainEvent : INotification
{
    public Guid FileId { get; }
    public string UserId { get; }
    public long FileSizeBytes { get; }

    public FileDeletedDomainEvent(Guid fileId, string userId, long fileSizeBytes)
    {
        FileId = fileId;
        UserId = userId;
        FileSizeBytes = fileSizeBytes;
    }
}
