AppChannelResult.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. using System.Collections.Generic;
  2. namespace GxPress.Result.AppChannel
  3. {
  4. /// <summary>
  5. /// 频道
  6. /// </summary>
  7. public class AppChannelModelResult
  8. {
  9. /// <summary>
  10. /// 频道类型 公众号 视频 期刊杂志 图书
  11. /// </summary>
  12. /// <value></value>
  13. public GxPress.EnumConst.AppChannelConst Id { get; set; }
  14. /// <summary>
  15. /// 频道名称
  16. /// </summary>
  17. /// <value></value>
  18. public string Name { get; set; }
  19. /// <summary>
  20. /// 频道集合
  21. /// </summary>
  22. /// <value></value>
  23. public IEnumerable<AppChannelResult> Items { get; set; }
  24. }
  25. /// <summary>
  26. /// app导航
  27. /// </summary>
  28. public class AppChannelResult
  29. {
  30. /// <summary>
  31. /// id
  32. /// </summary>
  33. /// <value></value>
  34. public int Id { get; set; }
  35. /// <summary>
  36. /// 标题图片
  37. /// </summary>
  38. public string ImageUrls { get; set; }
  39. /// <summary>
  40. /// 名称
  41. /// </summary>
  42. /// <value></value>
  43. public string Name { get; set; }
  44. /// <summary>
  45. /// 类型 公众号 视频 期刊杂志 图书
  46. /// </summary>
  47. /// <value></value>
  48. public GxPress.EnumConst.AppChannelConst ChannelTypeValue { get; set; }
  49. /// <summary>
  50. /// 排序
  51. /// </summary>
  52. public int Sort { get; set; }
  53. /// <summary>
  54. /// 1 普通 2 没有导航 3 sku
  55. /// </summary>
  56. /// <value></value>
  57. public int TypeValue { get; set; }
  58. /// <summary>
  59. /// 媒体集合
  60. /// </summary>
  61. /// <value></value>
  62. public IEnumerable<int> MediaIds { get; set; }
  63. }
  64. /// <summary>
  65. /// 导航类别
  66. /// </summary>
  67. public class ChannelCategoryResult
  68. {
  69. /// <summary>
  70. /// id
  71. /// </summary>
  72. /// <value></value>
  73. public int Id { get; set; }
  74. /// <summary>
  75. /// 名称
  76. /// </summary>
  77. /// <value></value>
  78. public string Name { get; set; }
  79. /// <summary>
  80. /// 扩展名称
  81. /// </summary>
  82. /// <value></value>
  83. public string ExpandName { get; set; }
  84. /// <summary>
  85. /// 父级ID
  86. /// </summary>
  87. /// <value></value>
  88. public int ParentId { get; set; }
  89. /// <summary>
  90. /// 是否存在子集
  91. /// </summary>
  92. /// <value></value>
  93. public bool IsChildren { get; set; }
  94. /// <summary>
  95. /// 子集
  96. /// </summary>
  97. /// <value></value>
  98. public IEnumerable<ChannelCategoryResult> Children { get; set; }
  99. /// <summary>
  100. /// 媒体集合
  101. /// </summary>
  102. /// <value></value>
  103. public IEnumerable<int> MediaIds { get; set; }
  104. }
  105. }