ArticleDetailVo.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.sckj.front.vo.article;
  2. import io.swagger.annotations.ApiModel;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import lombok.Data;
  5. import java.io.Serializable;
  6. @Data
  7. @ApiModel(value = "文章详情Vo")
  8. public class ArticleDetailVo implements Serializable {
  9. private static final long serialVersionUID = 1L;
  10. @ApiModelProperty(value = "文章ID")
  11. private Integer id;
  12. @ApiModelProperty(value = "文章标题")
  13. private String title;
  14. @ApiModelProperty(value = "文章封面")
  15. private String image;
  16. @ApiModelProperty(value = "文章简介")
  17. private String intro;
  18. @ApiModelProperty(value = "文章描述")
  19. private String summary;
  20. @ApiModelProperty(value = "浏览数量")
  21. private Integer visit;
  22. @ApiModelProperty(value = "作者名称")
  23. private String author;
  24. @ApiModelProperty(value = "是否收藏")
  25. private Boolean collect;
  26. @ApiModelProperty(value = "文章内容")
  27. private String content;
  28. @ApiModelProperty(value = "创建时间")
  29. private String createTime;
  30. }