mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 14:13:18 +08:00
22 lines
780 B
C#
22 lines
780 B
C#
using System;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Domains
|
|
{
|
|
public class User : IDataObject
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Email { get; set; }
|
|
public string MasterPassword { get; set; }
|
|
public string MasterPasswordHint { get; set; }
|
|
public string Culture { get; set; } = "en-US";
|
|
public string SecurityStamp { get; set; }
|
|
public bool TwoFactorEnabled { get; set; }
|
|
public TwoFactorProvider? TwoFactorProvider { get; set; }
|
|
public string AuthenticatorKey { get; set; }
|
|
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
|
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
|
|
}
|
|
}
|