29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
|
|
namespace phronCare.API.Models.Account
|
|||
|
|
{
|
|||
|
|
public class UserUpdate
|
|||
|
|
{
|
|||
|
|
public string Id { get; set; } = string.Empty;
|
|||
|
|
public string UserName { get; set; } = string.Empty;
|
|||
|
|
public string Email { get; set; } = string.Empty;
|
|||
|
|
public bool TwoFactorEnabled { get; set; }
|
|||
|
|
public bool LockoutEnabled { get; set; }
|
|||
|
|
}
|
|||
|
|
public class User
|
|||
|
|
{
|
|||
|
|
public string Id { get; set; } = string.Empty;
|
|||
|
|
public string UserName { get; set; } = string.Empty;
|
|||
|
|
public string NormalizedUserName { get; set; } = string.Empty;
|
|||
|
|
public string Email { get; set; } = string.Empty;
|
|||
|
|
public string NormalizedEmail { get; set; } = string.Empty;
|
|||
|
|
public bool EmailConfirmed { get; set; }
|
|||
|
|
public string PasswordHash { get; set; } = string.Empty;
|
|||
|
|
public string SecurityStamp { get; set; } = string.Empty;
|
|||
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|||
|
|
public bool PhoneNumberConfirmed { get; set; }
|
|||
|
|
public bool TwoFactorEnabled { get; set; }
|
|||
|
|
public DateTimeOffset? LockoutEnd { get; set; }
|
|||
|
|
public bool LockoutEnabled { get; set; }
|
|||
|
|
public int AccessFailedCount { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|