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

UserCenterOutput.cs 969 B

4 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 我的机构数样式
  6. /// </summary>
  7. public class LoginOrgTreeOutput
  8. {
  9. /// <summary>
  10. /// Id
  11. /// </summary>
  12. public long Id { get; set; }
  13. /// <summary>
  14. /// 名称
  15. /// </summary>
  16. public string Label { get; set; }
  17. /// <summary>
  18. /// 父ID
  19. /// </summary>
  20. public long Pid { get; set; }
  21. /// <summary>
  22. /// 子节点
  23. /// </summary>
  24. public List<LoginOrgTreeOutput> Children { get; set; }
  25. /// <summary>
  26. /// 样式
  27. /// </summary>
  28. public MyStyle? Style { get; set; }
  29. /// <summary>
  30. /// 我的机构样式
  31. /// </summary>
  32. public class MyStyle
  33. {
  34. /// <summary>
  35. /// 背景色
  36. /// </summary>
  37. public string Background { get; set; } = "var(--primary-color)";
  38. /// <summary>
  39. /// 字体颜色
  40. /// </summary>
  41. public string Color { get; set; } = "#FFF";
  42. }
  43. }