NavigationRequest.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. namespace GxPress.Request.Navigation
  2. {
  3. public class NavigationRequest
  4. {
  5. }
  6. /// <summary>
  7. /// 内容导航搜索
  8. /// </summary>
  9. public class NavigationSearchRequest
  10. {
  11. /// <summary>
  12. /// 分类ID
  13. /// </summary>
  14. /// <value></value>
  15. public int CategoryId { get; set; }
  16. /// <summary>
  17. /// 开始时间
  18. /// </summary>
  19. /// <value></value>
  20. public string BeginTime { get; set; }
  21. /// <summary>
  22. /// 结束时间
  23. /// </summary>
  24. /// <value></value>
  25. public string EndTime { get; set; }
  26. /// <summary>
  27. /// 排序
  28. /// </summary>
  29. /// <value></value>
  30. public string Sort { get; set; }
  31. /// <summary>
  32. /// 作者ID
  33. /// </summary>
  34. /// <value></value>
  35. public int TeacherId { get; set; }
  36. /// <summary>
  37. /// 单位
  38. /// </summary>
  39. /// <value></value>
  40. public string Unit { get; set; }
  41. /// <summary>
  42. /// 出版社
  43. /// </summary>
  44. /// <value></value>
  45. public string Press { get; set; }
  46. }
  47. /// <summary>
  48. /// 修改导航
  49. /// </summary>
  50. public class NavigationUpRequest
  51. {
  52. /// <summary>
  53. /// ID
  54. /// </summary>
  55. /// <value></value>
  56. public int Id { get; set; }
  57. /// <summary>
  58. /// 导航名称
  59. /// </summary>
  60. /// <value></value>
  61. public string Name { get; set; }
  62. /// <summary>
  63. /// 是否禁用 1设置2取消
  64. /// </summary>
  65. /// <value></value>
  66. public int IsDisable { get; set; }
  67. /// <summary>
  68. /// 父级ID
  69. /// </summary>
  70. /// <value></value>
  71. public int ParentId { get; set; }
  72. /// <summary>
  73. /// 排序
  74. /// </summary>
  75. /// <value></value>
  76. public int Sort { get; set; }
  77. /// <summary>
  78. /// 中间件页面ID
  79. /// </summary>
  80. /// <value></value>
  81. public int MiddleLableId { get; set; }
  82. /// <summary>
  83. /// 是否可以操作 1设置2取消
  84. /// </summary>
  85. /// <value></value>
  86. public int Isoperate { get; set; }
  87. /// <summary>
  88. /// 终端 1 pc 2 移动端
  89. /// </summary>
  90. /// <value></value>
  91. public int Terminal { get; set; }
  92. /// <summary>
  93. /// 路径
  94. /// </summary>
  95. /// <value></value>
  96. public string ControllerUrl { get; set; }
  97. /// <summary>
  98. /// 路径
  99. /// </summary>
  100. /// <value></value>
  101. public string ActionUrl { get; set; }
  102. }
  103. /// <summary>
  104. /// 年份搜索
  105. /// </summary>
  106. public class NavigationYearRequest
  107. {
  108. /// <summary>
  109. /// 开始时间
  110. /// </summary>
  111. /// <value></value>
  112. public string BeginTime { get; set; }
  113. /// <summary>
  114. /// 结束时间
  115. /// </summary>
  116. /// <value></value>
  117. public string EndTime { get; set; }
  118. /// <summary>
  119. /// 分类ID
  120. /// </summary>
  121. /// <value></value>
  122. public int CategoryId { get; set; }
  123. }
  124. }