星火直播PC
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.

DirectorListModel.cs 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace XHZB.Model
  7. {
  8. public class DirectorListModel
  9. {
  10. /// <summary>
  11. /// id
  12. /// </summary>
  13. public int? id { get; set; }
  14. /// <summary>
  15. /// 创建人姓名
  16. /// </summary>
  17. public string createname { get; set; }
  18. /// <summary>
  19. /// id
  20. /// </summary>
  21. public int? page { get; set; }
  22. /// <summary>
  23. /// id
  24. /// </summary>
  25. public int? pageSize { get; set; }
  26. /// <summary>
  27. /// 章节id
  28. /// </summary>
  29. public int directorid { get; set; }
  30. /// <summary>
  31. /// 章节名称
  32. /// </summary>
  33. public string directorname { get; set; }
  34. /// <summary>
  35. /// 所属章节
  36. /// </summary>
  37. public int? directorpid { get; set; }
  38. /// <summary>
  39. /// 章节排序
  40. /// </summary>
  41. public int directororder { get; set; }
  42. /// <summary>
  43. /// 是否是叶子节点
  44. /// </summary>
  45. public int? leaf { get; set; }
  46. /// <summary>
  47. /// 教材id
  48. /// </summary>
  49. public int? lsbid { get; set; }
  50. /// <summary>
  51. /// 章节列表
  52. /// </summary>
  53. public int? directortype { get; set; }
  54. /// <summary>
  55. /// 创建人
  56. /// </summary>
  57. public int? createid { get; set; }
  58. /// <summary>
  59. /// 创建时间
  60. /// </summary>
  61. public int? createtime { get; set; }
  62. /// <summary>
  63. /// 学校id
  64. /// </summary>
  65. public int? schoolid { get; set; }
  66. /// <summary>
  67. /// 子章节
  68. /// </summary>
  69. public List<DirectorListModel> children { get; set; }
  70. /// <summary>
  71. /// 章节归属级别
  72. /// </summary>
  73. public int? asknum { get; set; }
  74. /// <summary>
  75. /// 章节归属级别
  76. /// </summary>
  77. public int? correctRate { get; set; }
  78. /// <summary>
  79. /// 章节归属级别
  80. /// </summary>
  81. public int? selected { get; set; }
  82. /// <summary>
  83. /// 章节归属级别
  84. /// </summary>
  85. public int directorlevel { get; set; }
  86. public override string ToString()
  87. {
  88. return $"{nameof(id)}: {id}, {nameof(createname)}: {createname}, {nameof(page)}: {page}, {nameof(pageSize)}: {pageSize},{nameof(directorid)}: {directorid}, {nameof(directorname)}: {directorname}, {nameof(directorpid)}: {directorpid}, {nameof(directororder)}: {directororder}, {nameof(leaf)}: {leaf}, {nameof(lsbid)}: {lsbid}, {nameof(directortype)}: {directortype}, {nameof(directorlevel)}: {directorlevel}, {nameof(createid)}: {createid}, {nameof(createtime)}: {createtime}, {nameof(schoolid)}: {schoolid}, {nameof(children)}: {children}, {nameof(asknum)}: {asknum}, {nameof(correctRate)}: {correctRate}, {nameof(selected)}: {selected}";
  89. }
  90. }
  91. }