//----------------------------------------------------------------------- // // 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.RazorComponents.Tables; /// /// A class that represents a column in a table. /// public class TableColumn { /// /// Gets or sets the title of the column. /// public required string Title { get; set; } /// /// Gets or sets the name of the property to bind to. /// public string? PropertyName { get; set; } /// /// Gets or sets a value indicating whether the column is sortable. /// public bool Sortable { get; set; } = true; }