using Microsoft.Extensions.DependencyInjection; using SqlSugar; namespace Dlhis.Entity.Sys.Entities; /// /// identity-user /// [SkipScan] [SugarTable(TableName = "Users")] public class UserEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int 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; } /// /// 密码hash /// 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; } /// /// 双重验证启用 /// public bool TwoFactorEnabled { get; set; } /// /// 账号锁定结束时间 /// public DateTime? LockoutEnd { get; set; } /// /// 锁定启用 /// public bool LockoutEnabled { get; set; } /// /// 登陆错误次数 /// public int AccessFailedCount { get; set; } }