JwtToken 1.0
This commit is contained in:
@@ -3,7 +3,7 @@ using WorkFlowCheck.DL.Interfaces;
|
||||
|
||||
namespace WorkFlowCheck.DL.Entities
|
||||
{
|
||||
public class User:IAuditableEntity,ISoftDeletableEntity
|
||||
public class User : IAuditableEntity, ISoftDeletableEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Email { get; set; } = null!;
|
||||
@@ -11,10 +11,14 @@ namespace WorkFlowCheck.DL.Entities
|
||||
public string LastName { get; set; } = null!;
|
||||
public string UserName { get; set; } = null!;
|
||||
public string? PasswordHash { get; set; } = null;
|
||||
public DateTime LastModAt { get ; set ; }
|
||||
public string LastModBy { get ; set ; } = null!;
|
||||
public DateTime CreatedAt { get ; set ; }
|
||||
public string CreatedBy { get ; set ; } = null!;
|
||||
public bool IsDeleted { get ; set ; }
|
||||
public string JwtToken { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
||||
|
||||
public DateTime LastModAt { get; set; }
|
||||
public string LastModBy { get; set; } = null!;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public string CreatedBy { get; set; } = null!;
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user