JwtToken 1.0

This commit is contained in:
2025-03-12 09:48:57 +01:00
parent da27f7e882
commit 29e6efc9e0
15 changed files with 867 additions and 35 deletions
+10 -6
View File
@@ -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; }
}
}