Files
aliasvault/apps/server/AliasVault.Admin/Main/Models/TopUserByStorage.cs
2026-05-03 10:27:59 +02:00

30 lines
995 B
C#

//-----------------------------------------------------------------------
// <copyright file="TopUserByStorage.cs" company="aliasvault">
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Admin.Main.Models;
/// <summary>
/// Model representing a user with high storage usage.
/// </summary>
public class TopUserByStorage
{
/// <summary>
/// Gets or sets the user display info (id, username, status badges).
/// </summary>
public UserDisplay User { get; set; } = new();
/// <summary>
/// Gets or sets the storage size in bytes.
/// </summary>
public long StorageBytes { get; set; }
/// <summary>
/// Gets or sets the human-readable storage size.
/// </summary>
public string StorageDisplaySize { get; set; } = string.Empty;
}