Init Git
This commit is contained in:
24
AMREZ.EOP.Domain/Entities/Authentications/User.cs
Normal file
24
AMREZ.EOP.Domain/Entities/Authentications/User.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.Authentications;
|
||||
|
||||
public sealed class User : BaseEntity
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
|
||||
public string PasswordHash { get; set; } = default!;
|
||||
public bool IsActive { get; set; } = true;
|
||||
|
||||
public int AccessFailedCount { get; set; }
|
||||
public DateTimeOffset? LockoutEndUtc { get; set; }
|
||||
public bool MfaEnabled { get; set; }
|
||||
public string? SecurityStamp { get; set; }
|
||||
|
||||
public ICollection<UserIdentity> Identities { get; set; } = new List<UserIdentity>();
|
||||
public ICollection<UserMfaFactor> MfaFactors { get; set; } = new List<UserMfaFactor>();
|
||||
public ICollection<UserSession> Sessions { get; set; } = new List<UserSession>();
|
||||
public ICollection<UserPasswordHistory> PasswordHistories { get; set; } = new List<UserPasswordHistory>();
|
||||
public ICollection<UserExternalAccount> ExternalAccounts { get; set; } = new List<UserExternalAccount>();
|
||||
|
||||
public ICollection<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
||||
}
|
||||
Reference in New Issue
Block a user