ApplicationRole.cs 674 B

123456789101112131415161718192021222324
  1. using Microsoft.AspNetCore.Identity;
  2. namespace MTWorkHR.Identity.Models
  3. {
  4. public class ApplicationRole : IdentityRole
  5. {
  6. public ApplicationRole() : base()
  7. {
  8. }
  9. public string? CreateUser { get; set; }
  10. public string? UpdateUser { get; set; }
  11. public DateTime CreateDate { get; set; }
  12. public DateTime? UpdateDate { get; set; }
  13. public bool IsDeleted { get; set; }
  14. public string? DeleteUserId { get; set; }
  15. public bool? IsAdmin { get; set; }
  16. public ICollection<ApplicationUser> Users { get; set; }
  17. public ICollection<RolePermission> RolePermissions { get; set; }
  18. }
  19. }