Information.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldStrategy;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import lombok.Getter;
  5. import lombok.Setter;
  6. /**
  7. * @author zwhui
  8. * @date 2023/10/11 17:11
  9. */
  10. @Getter
  11. @Setter
  12. public class Information extends BaseEntity{
  13. /**
  14. * 文章标题
  15. */
  16. private String title;
  17. /**
  18. * 副标题
  19. */
  20. @TableField(updateStrategy = FieldStrategy.IGNORED)
  21. private String subTitle;
  22. @TableField(updateStrategy = FieldStrategy.IGNORED)
  23. private String logo;
  24. /**
  25. * 文章动图
  26. */
  27. @TableField(updateStrategy = FieldStrategy.IGNORED)
  28. private String gif;
  29. /**
  30. * 是否是黑色文字 默认false
  31. */
  32. private Boolean isBlackFont;
  33. /**
  34. * 缩略图
  35. */
  36. private String thumbnail;
  37. /**
  38. * 文章类型
  39. */
  40. private String categoryIds;
  41. /**
  42. * 内容
  43. */
  44. private String content;
  45. /**
  46. * true 上架 || false 下架
  47. */
  48. private Boolean status;
  49. /**
  50. * true 推荐 || false
  51. */
  52. private Boolean recommend;
  53. /**
  54. * true 置顶 || false
  55. */
  56. private Boolean top;
  57. /**
  58. * 排序
  59. */
  60. private Integer sorted;
  61. /**
  62. * true 存在 || false 删除
  63. */
  64. private Boolean deleted;
  65. /**
  66. * 推荐商品
  67. */
  68. private String goodsIds;
  69. }