12 lines
441 B
C#
12 lines
441 B
C#
namespace Mirea.Api.Security.Common.Domain;
|
|
|
|
public class User
|
|
{
|
|
public required string Id { get; set; }
|
|
public required string Username { get; set; }
|
|
public required string Email { get; set; }
|
|
public required string PasswordHash { get; set; }
|
|
public required string Salt { get; set; }
|
|
public required TwoFactorAuthenticator TwoFactorAuthenticator { get; set; }
|
|
public string? SecondFactorToken { get; set; }
|
|
} |