DepartmentResult.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System.Collections.Generic;
  2. namespace GxPress.Result.Department
  3. {
  4. /// <summary>
  5. /// 部门
  6. /// </summary>
  7. public class DepartmentResult
  8. {
  9. /// <summary>
  10. ///
  11. /// </summary>
  12. /// <value></value>
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 部门名称
  16. /// </summary>
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 父级部门id
  20. /// </summary>
  21. public int ParentId { get; set; }
  22. /// <summary>
  23. /// 部门主管id
  24. /// </summary>
  25. public int LeaderId { get; set; }
  26. /// <summary>
  27. /// 排序
  28. /// </summary>
  29. public int Sort { get; set; }
  30. /// <summary>
  31. /// 用户成员
  32. /// </summary>
  33. /// <value></value>
  34. public int UserCount { get; set; }
  35. public int TypeId { get; set; }
  36. public int TypeValue { get; set; }
  37. }
  38. public class DepartmentUserInsResult
  39. {
  40. public List<DepartmentUserInResult> Result { get; set; }
  41. }
  42. public class DepartmentUserInResult
  43. {
  44. public int DepartmentId { get; set; }
  45. public List<Entity.Department> Item { get; set; }
  46. }
  47. }