userModel.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. using Microsoft.AspNetCore.Http;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace WK_KLI_LAPS_COMMONTOOL_Service.Models.Master
  7. {
  8. public class userModel
  9. {
  10. public int userid { get; set; }
  11. public string firstname { get; set; }
  12. public string lastname { get; set; }
  13. public string username { get; set; }
  14. public string emailid { get; set; }
  15. public int teamid { get; set; }
  16. public string team { get; set; }
  17. public int roleid { get; set; }
  18. public string rolename { get; set; }
  19. public string contactno { get; set; }
  20. public int createdby { get; set; }
  21. public DateTime createdon { get; set; }
  22. public int? updatedby { get; set; }
  23. public DateTime? updatedon { get; set; }
  24. public int active { get; set; }
  25. public string password { get; set; }
  26. public byte[] passwordhash { get; set; }
  27. public byte[] passwordsalt { get; set; }
  28. public int singlesignon { get; set; }
  29. public int userrequest { get; set; }
  30. public int requestapproval { get; set; }
  31. public int requestapprovedby { get; set; }
  32. public DateTime? requestraisedon { get; set; }
  33. public DateTime? requestapprovedon { get; set; }
  34. public int loggedinflag { get; set; }
  35. public string databasemapped { get; set; }
  36. public string menumapped { get; set; }
  37. public string profileimagepath { get; set; }
  38. public IFormFile ImgFile { get; set; }
  39. public int accessrequestid { get; set; }
  40. public string comment { get; set; }
  41. public string requestmapped { get; set; }
  42. public string userrole { get; set; }
  43. public Int64? departmentid { get; set; }
  44. public Int64? authorizerid { get; set; }
  45. public string department { get; set; }
  46. public string location { get; set; }
  47. }
  48. public class accessrequestModel
  49. {
  50. public int accessrequestid { get; set; }
  51. public string firstname { get; set; }
  52. public string lastname { get; set; }
  53. public string emailid { get; set; }
  54. public string comment { get; set; }
  55. public string ipaddress { get; set; }
  56. public DateTime createdon { get; set; }
  57. public int approvedby { get; set; }
  58. public DateTime approvedon { get; set; }
  59. public int approvedstatus { get; set; }
  60. }
  61. public class loginhistoryModel
  62. {
  63. public int Logid { get; set; }
  64. public int Userid { get; set; }
  65. public string loggedin { get; set; }
  66. public string loggedout { get; set; }
  67. public string ipaddress { get; set; }
  68. }
  69. public class useractivitylogModel
  70. {
  71. public int userlogid { get; set; }
  72. public int userid { get; set; }
  73. public string useraction { get; set; }
  74. public string dateofaction { get; set; }
  75. public string ipaddress { get; set; }
  76. public string description { get; set; }
  77. }
  78. public class activitylogmodel
  79. {
  80. public int active_p { get; set; }
  81. public string requesttype_p { get; set; }
  82. public int pageno_p { get; set; }
  83. public int itemsperpage_p { get; set; }
  84. public string mode_p { get; set; }
  85. public string sorting_p { get; set; }
  86. public string searchcondition_p { get; set; }
  87. }
  88. }