平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
1011 B

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 组织树输出参数
  5. /// </summary>
  6. public class PositionTreeOutput
  7. {
  8. /// <summary>
  9. /// 职位Id
  10. /// </summary>
  11. public long Id { get; set; }
  12. /// <summary>
  13. /// 名称
  14. /// </summary>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 是否是职位
  18. /// </summary>
  19. public bool IsPosition { get; set; }
  20. /// <summary>
  21. /// 子项
  22. /// </summary>
  23. public List<PositionTreeOutput> Children { get; set; } = new List<PositionTreeOutput>();
  24. }
  25. /// <summary>
  26. /// 组织选择器输出参数
  27. /// </summary>
  28. public class PositionSelectorOutput
  29. {
  30. /// <summary>
  31. /// 组织Id或者职位Id
  32. /// </summary>
  33. public long Id { get; set; }
  34. /// <summary>
  35. /// 名称
  36. /// </summary>
  37. public string Name { get; set; }
  38. /// <summary>
  39. /// 子项
  40. /// </summary>
  41. public List<PositionSelectorOutput> Children { get; set; } = new List<PositionSelectorOutput>();
  42. }