平安校园
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.

PositionOutput.cs 1011 B

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