Class PostEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.forum.post.PostEntity
All Implemented Interfaces:
Serializable

@Entity public class PostEntity extends BaseEntity
Forum post entity for community discussions Manages forum posts, content, and user interactions Database Table: bytedesk_forum_post Purpose: Stores forum posts, categories, and engagement metrics
See Also:
  • Field Details

    • title

      private String title
      Title of the forum post
    • content

      private String content
      Main content of the forum post
    • userId

      private Long userId
      ID of the user who created the post
    • viewCount

      private Integer viewCount
      Number of times the post has been viewed
    • likeCount

      private Integer likeCount
      Number of likes received on the post
    • commentCount

      private Integer commentCount
      Number of comments on the post
    • status

      private String status
      Current status of the post (draft, published, deleted)
    • category

      private CategoryEntity category
      Category that the post belongs to
  • Constructor Details

    • PostEntity

      public PostEntity()