using StorageService.Domain.SeedWork;
using MediatR;

namespace StorageService.Domain.Events;

/// <summary>
/// EN: Event raised when user quota statistics are updated.
/// VI: Event được raise khi thống kê quota user được cập nhật.
/// </summary>
public class UserQuotaUpdatedDomainEvent : INotification
{
    public string UserId { get; }
    public long UsedStorageBytes { get; }
    public int CurrentFileCount { get; }

    public UserQuotaUpdatedDomainEvent(string userId, long usedStorageBytes, int currentFileCount)
    {
        UserId = userId;
        UsedStorageBytes = usedStorageBytes;
        CurrentFileCount = currentFileCount;
    }
}
