ApplicationUser.cs 884 B

12345678910111213141516171819202122232425262728293031323334
  1. using Microsoft.AspNetCore.Identity;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Identity.Models
  9. {
  10. public class ApplicationUser : IdentityUser
  11. {
  12. public string FirstName { get; set; }
  13. public string LastName { get; set; }
  14. public int UserType { get; set; }
  15. public string? ManagerId { get; set; }
  16. [ForeignKey("ManagerId")]
  17. public ApplicationUser Manager { get; set; }
  18. public string? CreateUser { get; set; }
  19. public string? UpdateUser { get; set; }
  20. public bool IsStopped { get; set; }
  21. public bool IsDeleted { get; set; }
  22. public string? DeleteUserId { get; set; }
  23. public ICollection<ApplicationRole> UserRoles { get; set; }
  24. }
  25. }