CmsArticle.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.goldenwater.slgc.domain;
  2. import com.goldenwater.common.annotation.Excel;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import java.util.Date;
  6. import java.util.List;
  7. @Schema(description = "内容文章实体")
  8. @Data
  9. public class CmsArticle {
  10. @Schema(description = "文章ID")
  11. private String aid;
  12. @Schema(description = "业务部门")
  13. private String bizDept;
  14. @Excel(name = "分类ID")
  15. @Schema(description = "分类ID")
  16. private String cateId;
  17. @Excel(name = "标题")
  18. @Schema(description = "标题")
  19. private String title;
  20. @Excel(name = "副标题")
  21. @Schema(description = "副标题")
  22. private String subtitle;
  23. @Excel(name = "关键词")
  24. @Schema(description = "关键词")
  25. private String keyword;
  26. @Schema(description = "是否图片新闻")
  27. private String isImage;
  28. @Schema(description = "缩略图")
  29. private String thumbnail;
  30. @Excel(name = "来源")
  31. @Schema(description = "来源")
  32. private String source;
  33. @Excel(name = "摘要")
  34. @Schema(description = "摘要")
  35. private String summary;
  36. @Excel(name = "状态")
  37. @Schema(description = "状态")
  38. private String status;
  39. @Excel(name = "发布人")
  40. @Schema(description = "发布人")
  41. private String pubUser;
  42. @Excel(name = "发布日期", dateFormat = "yyyy-MM-dd")
  43. @Schema(description = "发布日期")
  44. private Date pubDate;
  45. @Schema(description = "截止日期")
  46. private Date dueDate;
  47. @Schema(description = "审核人")
  48. private String auditUser;
  49. @Schema(description = "审核日期")
  50. private Date auditDate;
  51. @Schema(description = "是否置顶")
  52. private String isTop;
  53. @Schema(description = "是否删除")
  54. private String isDel;
  55. @Schema(description = "是否允许评论")
  56. private String isComment;
  57. @Excel(name = "浏览次数")
  58. @Schema(description = "浏览次数")
  59. private Integer viewCount;
  60. @Schema(description = "评论次数")
  61. private Integer commentCount;
  62. @Schema(description = "文章内容")
  63. private String content;
  64. @Excel(name = "发布平台")
  65. @Schema(description = "发布平台")
  66. private String pubPlatform;
  67. @Schema(description = "标题颜色")
  68. private String titleColor;
  69. @Excel(name = "类型")
  70. @Schema(description = "类型")
  71. private String type;
  72. /** 文章文件列表 */
  73. private List<CmsArticleFile> articleFiles;
  74. }