//-----------------------------------------------------------------------
//
// Copyright (c) lanedirt. 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;
///
/// User view model.
///
public class UserViewModel
{
///
/// Gets or sets the id.
///
public string Id { get; set; } = string.Empty;
///
/// Gets or sets the CreatedAt timestamp.
///
public DateTime CreatedAt { get; set; }
///
/// Gets or sets the user name.
///
public string UserName { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether the user has two-factor authentication enabled.
///
public bool TwoFactorEnabled { get; set; }
///
/// Gets or sets a value indicating whether the user is blocked.
///
public bool Blocked { get; set; }
///
/// Gets or sets the vault count.
///
public int VaultCount { get; set; }
///
/// Gets or sets the credential count.
///
public int CredentialCount { get; set; }
///
/// Gets or sets the email claim count.
///
public int EmailClaimCount { get; set; }
///
/// Gets or sets the total number of received emails across all email claims.
///
public int ReceivedEmailCount { get; set; }
///
/// Gets or sets the total vault storage that this user takes up in kilobytes.
///
public int VaultStorageInKb { get; set; }
///
/// Gets or sets the last time the vault was updated.
///
public DateTime LastVaultUpdate { get; set; }
}