PostsVO.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package com.nosum.deliver.posts.domain.vo;
  2. import com.nosum.common.base.domain.vo.BaseVO;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import lombok.experimental.Accessors;
  6. import java.time.LocalDateTime;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. *
  11. * </p>
  12. * @author sumbytes
  13. * @since 2019-08-28
  14. */
  15. @Data
  16. @Accessors(chain = true)
  17. public class PostsVO {
  18. /**
  19. * 文章标题
  20. */
  21. private String title;
  22. /**
  23. * 文章内容
  24. */
  25. private String content;
  26. /**
  27. * 封面图
  28. */
  29. private String thumbnail;
  30. /**
  31. * 评论数
  32. */
  33. private Integer comments;
  34. /**
  35. * 状态 1 草稿 2 发布
  36. */
  37. private Integer status;
  38. /**
  39. * 摘要
  40. */
  41. private String summary;
  42. /**
  43. * 浏览次数
  44. */
  45. private Integer views;
  46. /**
  47. * 文章权重
  48. */
  49. private Integer weight;
  50. /**
  51. * 外链地址
  52. */
  53. private String sourceUri;
  54. /**
  55. * 创建时间
  56. */
  57. private LocalDateTime createTime;
  58. /**
  59. * 更新时间
  60. */
  61. private LocalDateTime updateTime;
  62. /**
  63. * 标签列表
  64. */
  65. private List<String> tagList;
  66. /**
  67. * 是否打开评论
  68. */
  69. private Integer isComment;
  70. private Integer syncStatus;
  71. /**
  72. * 是否发布到主站
  73. */
  74. private Integer isPublishByteBlogs;
  75. private String author;
  76. private Integer platformType;
  77. private Integer commentsTotal;
  78. private Integer viewsTotal;
  79. private Integer articleTotal;
  80. private Integer draftTotal;
  81. private Integer publishTotal;
  82. private Integer syncTotal;
  83. private Integer todayPublishTotal;
  84. private LocalDateTime archiveDate;
  85. /**
  86. * 社交账户ID
  87. */
  88. private String socialId;
  89. private Integer year;
  90. private String tagsName;
  91. // 文章分类Id
  92. private Integer categoryId;
  93. // 是否根据权重排序 0:否 1 是
  94. private Integer isWeight;
  95. /**
  96. * 文章分类名称
  97. */
  98. private String categoryName;
  99. /**
  100. * 用于归档时保存文章自身列表
  101. */
  102. private List<PostsVO> archivePosts;
  103. /**
  104. * 标签ID
  105. */
  106. private String postsTagsId;
  107. }