Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

1.0 KB
Raw Blame
//-----------------------------------------------------------------------
// <copyright file="BreadcrumbItem.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>
/// Represents a breadcrumb item for the breadcrumb component.
/// </summary>
public sealed class BreadcrumbItem
{
    /// <summary>
    /// Gets or sets the display name for the breadcrumb item.
    /// </summary>
    public string? DisplayName { get; set; }

    /// <summary>
    /// Gets or sets the URL for the breadcrumb item.
    /// </summary>
    public string? Url { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to show the home icon for this item.
    /// Typically used for the first item in the breadcrumb trail.
    /// </summary>
    public bool ShowHomeIcon { get; set; }
}