35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebDoorCreator.Data.DbModels
|
|
{
|
|
[Table("AspNetUsers")]
|
|
public class UsersModel
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public string Id { get; set; } = "";
|
|
public string UserName { get; set; } = "";
|
|
public string NormalizedUserName { get; set; } = "";
|
|
public string Email { get; set; } = "";
|
|
public string NormalizedEmail { get; set; } = "";
|
|
public bool EmailConfirmed { get; set; } = false;
|
|
public string PasswordHash { get; set; } = "";
|
|
public string SecurityStamp { get; set; } = "";
|
|
public string ConcurrencyStamp { get; set; } = "";
|
|
public string PhoneNumber { get; set; } = "";
|
|
public bool PhoneNumberConfirmed { get; set; } = false;
|
|
public bool TwoFactorEnabled { get; set; } = false;
|
|
public DateTimeOffset? LockoutEnd { get; set; } = null;
|
|
public bool LockoutEnabled { get; set; } = false;
|
|
public int AccessFailedCount { get; set; } = 0 ;
|
|
|
|
[ForeignKey("RoleId")]
|
|
protected virtual RolesModel? RolesNav { get; set; }
|
|
}
|
|
}
|