//-----------------------------------------------------------------------
//
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
//
//-----------------------------------------------------------------------
namespace AliasVault.Client.Main.Models;
using System;
///
/// Folder model with item count for display in lists.
///
public sealed class FolderWithCount
{
///
/// Gets or sets the folder ID.
///
public Guid Id { get; set; }
///
/// Gets or sets the folder name.
///
public string Name { get; set; } = string.Empty;
///
/// Gets or sets the parent folder ID (null for root folders).
///
public Guid? ParentFolderId { get; set; }
///
/// Gets or sets the folder weight for sorting.
///
public int Weight { get; set; }
///
/// Gets or sets the number of items in this folder (including subfolders recursively).
///
public int ItemCount { get; set; }
}