ArticleAddRequest.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.Entity;
  4. namespace GxPress.Request.Article
  5. {
  6. /// <summary>
  7. /// 添加文章
  8. /// </summary>
  9. public class ArticleAddRequest
  10. {
  11. /// <summary>
  12. /// 标题
  13. /// </summary>
  14. public string Title { get; set; }
  15. /// <summary>
  16. /// 组id
  17. /// </summary>
  18. public int GroupId { get; set; }
  19. /// <summary>
  20. /// 标题图片
  21. /// </summary>
  22. public IEnumerable<string> ImageUrls { get; set; }
  23. /// <summary>
  24. /// 简介
  25. /// </summary>
  26. public string Summary { get; set; }
  27. /// <summary>
  28. /// 作者
  29. /// </summary>
  30. public string Author { get; set; }
  31. /// <summary>
  32. /// 来源
  33. /// </summary>
  34. public string Source { get; set; }
  35. /// <summary>
  36. /// Json内容
  37. /// </summary>
  38. public IEnumerable<Block> Blocks { get; set; }
  39. /// <summary>
  40. /// 审核状态
  41. /// </summary>
  42. public bool IsChecked { get; set; }
  43. /// <summary>
  44. /// 添加时间
  45. /// </summary>
  46. public DateTime AddDate { get; set; }
  47. /// <summary>
  48. /// 排序
  49. /// </summary>
  50. public int Sort { get; set; }
  51. /// <summary>
  52. /// 是否置顶
  53. /// </summary>
  54. public bool IsTop { get; set; }
  55. /// <summary>
  56. /// 文章标签
  57. /// </summary>
  58. /// <value></value>
  59. public List<int> ArticleLabelIds { get; set; }
  60. }
  61. }