NewsPublish.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. package com.project.hyb.biz.domain.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. import lombok.Getter;
  9. import lombok.Setter;
  10. /**
  11. * <p>
  12. * 资讯发布表
  13. * </p>
  14. *
  15. * @author
  16. * @since 2025-08-05
  17. */
  18. @Getter
  19. @Setter
  20. @TableName("news_publish")
  21. public class NewsPublish implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. /**
  24. * 主键ID
  25. */
  26. @TableId(value = "id", type = IdType.AUTO)
  27. private Long id;
  28. /**
  29. * 资讯标题
  30. */
  31. private String title;
  32. /**
  33. * 内容类型(1=公众号链接,2=富文本)
  34. */
  35. private String contentType;
  36. /**
  37. * 内容(链接或HTML)
  38. */
  39. private String content;
  40. /**
  41. * 微信号发布时间
  42. */
  43. private Date wechatPublishTime;
  44. /**
  45. * 平台发布时间
  46. */
  47. private Date platformPublishTime;
  48. /**
  49. * 创建时间
  50. */
  51. private Date gmtCreate;
  52. /**
  53. * 更新时间
  54. */
  55. private Date gmtModified;
  56. /**
  57. * 逻辑删除
  58. */
  59. @TableLogic(value = "0", delval = "1")
  60. private Integer isDeleted;
  61. /**
  62. * 创建人uuid
  63. */
  64. private String creator;
  65. /**
  66. * 创建人
  67. */
  68. private String creatorName;
  69. /**
  70. * 更新人uuid
  71. */
  72. private String editor;
  73. /**
  74. * 更新人
  75. */
  76. private String editorName;
  77. /**
  78. * 删除人
  79. */
  80. private String deletedBy;
  81. /**
  82. * 删除时间
  83. */
  84. private Date gmtDeleted;
  85. private String description;
  86. private Date pinnedAt;
  87. }