ApplicationUser.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.Entities
  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? FavoriteName { get; set; }
  16. public string PassportNumber { get; set; }
  17. public int QualificationId { get; set; }
  18. public string? University { get; set; }
  19. public string? JobTitle { get; set; }
  20. public string? ManagerId { get; set; }
  21. public decimal TaxNumber { get; set; }
  22. public decimal IncomeTaxValue { get; set; }
  23. [ForeignKey("ManagerId")]
  24. public ApplicationUser Manager { get; set; }
  25. public string? CreateUser { get; set; }
  26. public string? UpdateUser { get; set; }
  27. public bool IsStopped { get; set; }
  28. public bool IsDeleted { get; set; }
  29. public string? DeleteUserId { get; set; }
  30. public ICollection<ApplicationRole> UserRoles { get; set; }
  31. public ICollection<UserAttachment> UserAttachments { get; set; }
  32. public UserAddress UserAddress { get; set; }
  33. }
  34. }