mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-04-04 23:05:19 -04:00
31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
//-----------------------------------------------------------------------
|
|
// <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.RazorComponents.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; }
|
|
}
|