//-----------------------------------------------------------------------
//
// 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.Admin.Main.Models;
///
/// Minimal user information used to render a username with status badges.
/// Designed to be projected from EF queries without pulling navigation properties.
///
public class UserDisplay
{
///
/// Gets or sets the user ID. When null/empty the username is rendered as plain text instead of a link.
///
public string? UserId { get; set; }
///
/// Gets or sets the username.
///
public string? UserName { get; set; }
///
/// Gets or sets a value indicating whether the user is blocked.
///
public bool Blocked { get; set; }
///
/// Gets or sets a value indicating whether the user is considered inactive.
///
public bool IsInactive { get; set; }
///
/// Gets or sets a value indicating whether the user has two-factor authentication enabled.
///
public bool TwoFactorEnabled { get; set; }
}