DepartmentView.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using OASystem.Domain.Entities.System;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.ViewModels.System
  8. {
  9. public class DepartmentIView
  10. {
  11. /// <summary>
  12. /// id
  13. /// </summary>
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 部门code
  17. /// </summary>
  18. public string DepCode { get; set; }
  19. /// <summary>
  20. /// 公司Id
  21. /// </summary>
  22. public int CompanyId { get; set; }
  23. /// <summary>
  24. /// 公司名称
  25. /// </summary>
  26. public string CompanyName { get; set; }
  27. /// <summary>
  28. /// 部门名称
  29. /// </summary>
  30. public string DepName { get; set; }
  31. /// <summary>
  32. /// 父级部门Id
  33. /// </summary>
  34. public int ParentDepId { get; set; }
  35. /// <summary>
  36. /// 父级部门Name
  37. /// </summary>
  38. public string ParentDepName { get; set; }
  39. /// <summary>
  40. /// 备注
  41. /// </summary>
  42. public string Remark { get; set; }
  43. }
  44. public class DepartmentView
  45. {
  46. /// <summary>
  47. /// id
  48. /// </summary>
  49. public int Id { get; set; }
  50. /// <summary>
  51. /// 公司Id
  52. /// </summary>
  53. public int CompanyId { get; set; }
  54. /// <summary>
  55. /// 部门名称
  56. /// </summary>
  57. public string? DepName { get; set; }
  58. }
  59. }