ToolFunctionEntity.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CollaborativePlatformMain.DFEntity.MessageSubUtil
  7. {
  8. /// <summary>
  9. ///
  10. /// <para>文件名(File Name): ToolFunctionEntity.cs</para>
  11. ///
  12. /// <para>描述(Description): 工具栏数据</para>
  13. ///
  14. /// <para>数据表(Tables): nothing</para>
  15. ///
  16. /// <para>作者(Author): Ou Rui Song</para>
  17. ///
  18. /// <para>日期(Create Date): 2024年4月30日10:14:07</para>
  19. ///
  20. /// 修改记录(Revision History):
  21. /// R1:
  22. /// 修改作者:
  23. /// 修改日期:
  24. /// 修改理由:
  25. ///
  26. /// </summary>
  27. public class ToolFunctionEntity
  28. {
  29. /// <summary>
  30. /// 工具栏数据
  31. /// </summary>
  32. /// <param name="funcitonSystemName"></param>
  33. /// <param name="subDatas"></param>
  34. public ToolFunctionEntity(string funcitonSystemName, List<ToolFunctionEntity> subDatas)
  35. {
  36. FuncitonSystemName = funcitonSystemName;
  37. SubDatas = subDatas;
  38. }
  39. /// <summary>
  40. /// 单功能数据
  41. /// </summary>
  42. /// <param name="funcitonName"></param>
  43. /// <param name="imagePath"></param>
  44. /// <param name="isCheck"></param>
  45. public ToolFunctionEntity(string funcitonName, string imagePath, bool isCheck)
  46. {
  47. FuncitonName = funcitonName;
  48. ImagePath = imagePath;
  49. IsCheck = isCheck;
  50. }
  51. /// <summary>
  52. /// 功能分类
  53. /// </summary>
  54. public string FuncitonSystemName { get; set; }
  55. /// <summary>
  56. /// 子级
  57. /// </summary>
  58. public List<ToolFunctionEntity> SubDatas { get; set; } = new List<ToolFunctionEntity>();
  59. /// <summary>
  60. /// 功能名称
  61. /// </summary>
  62. public string FuncitonName { get; set; }
  63. /// <summary>
  64. /// 图片地址
  65. /// </summary>
  66. public string ImagePath { get; set; }
  67. /// <summary>
  68. /// 是否选中
  69. /// </summary>
  70. public bool IsCheck { get; set; }
  71. }
  72. }