2020-12-20 00:18:53 +02:00
|
|
|
|
using System;
|
2021-11-12 01:37:10 +02:00
|
|
|
|
using System.Collections.Generic;
|
2020-12-20 00:18:53 +02:00
|
|
|
|
|
|
|
|
|
namespace IdentityServer.Domain.Entities
|
|
|
|
|
{
|
|
|
|
|
public class AppUser
|
|
|
|
|
{
|
|
|
|
|
public int UserId { get; set; }
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
2021-11-11 01:20:02 +02:00
|
|
|
|
public string FirstName { get; set; }
|
|
|
|
|
public string LastName { get; set; }
|
2021-11-10 15:14:58 +02:00
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
public string ProfilePictureUrl { get; set; }
|
2021-11-11 01:20:02 +02:00
|
|
|
|
public string SecurityStamp { get; set; }
|
|
|
|
|
public int StatusId { get; set; }
|
2020-12-20 00:18:53 +02:00
|
|
|
|
public DateTime CreationDate { get; set; }
|
2021-11-11 01:20:02 +02:00
|
|
|
|
public int FailedLoginAttempts { get; set; }
|
|
|
|
|
public DateTime LastLoginDate { get; set; }
|
|
|
|
|
public DateTime PasswordChangeDate { get; set; }
|
|
|
|
|
public UserStatus Status { get; set; }
|
2021-11-12 01:37:10 +02:00
|
|
|
|
public ICollection<UserClaim> Claims { get; set; }
|
2020-12-20 00:18:53 +02:00
|
|
|
|
}
|
|
|
|
|
}
|