CompanyDetailsView.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.System
  7. {
  8. /// <summary>
  9. /// 公司详情
  10. /// </summary>
  11. public class CompanyDetailsView
  12. {
  13. /// <summary>
  14. /// 公司Id
  15. /// </summary>
  16. public int CompanyId { get; set; }
  17. /// <summary>
  18. /// 公司名称
  19. /// </summary>
  20. public string? CompanyName { get; set; }
  21. /// <summary>
  22. /// 部门Id
  23. /// </summary>
  24. public int DepId { get; set; }
  25. /// <summary>
  26. /// 部门名称
  27. /// </summary>
  28. public string? DepName { get; set; }
  29. /// <summary>
  30. /// 岗位Id
  31. /// </summary>
  32. public int JobId { get; set; }
  33. /// <summary>
  34. /// 岗位名称
  35. /// </summary>
  36. public string? JobName { get; set; }
  37. }
  38. public class CompanyDetailsView1
  39. {
  40. /// <summary>
  41. /// 公司Id
  42. /// </summary>
  43. public int CompanyId { get; set; }
  44. /// <summary>
  45. /// 公司名称
  46. /// </summary>
  47. public string? CompanyName { get; set; }
  48. /// <summary>
  49. /// 公司下的部门
  50. /// </summary>
  51. public List<DepDetailsView> SubDep { get; set; }
  52. }
  53. public class DepDetailsView
  54. {
  55. /// <summary>
  56. /// 部门Id
  57. /// </summary>
  58. public int DepId { get; set; }
  59. /// <summary>
  60. /// 部门名称
  61. /// </summary>
  62. public string? DepName { get; set; }
  63. /// <summary>
  64. /// 部门下的岗位
  65. /// </summary>
  66. public List<JobDetailsView> SubJob { get; set; }
  67. }
  68. public class JobDetailsView
  69. {
  70. /// <summary>
  71. /// 岗位Id
  72. /// </summary>
  73. public int JobId { get; set; }
  74. /// <summary>
  75. /// 岗位名称
  76. /// </summary>
  77. public string? JobName { get; set; }
  78. }
  79. }