23 lines
839 B
C#
23 lines
839 B
C#
namespace OrdersManagementDataModel.Entities;
|
|
|
|
public class User
|
|
{
|
|
public int Id { get; set; }
|
|
public string Login { get; set; }
|
|
public string PasswordHash { get; set; }
|
|
public bool IsTemporaryPassword { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime? ActiveFrom { get; set; }
|
|
public DateTime? ActiveTo { get; set; }
|
|
public string Email { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public DateTime CreatedDate { get; set; }
|
|
public DateTime? LastLoginDate { get; set; }
|
|
public int FailedLoginAttempts { get; set; }
|
|
public bool IsLocked { get; set; }
|
|
public DateTime? LockoutEndDate { get; set; }
|
|
public Guid RowPointer { get; set; }
|
|
|
|
public ICollection<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
|
} |