content: package io.github.xxyopen.novel.dao.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import java.io.Serializable;
  import java.time.LocalDateTime;
  
  /**
   * <p>
   * 用户评论
   * </p>
   *
   * @author xiongxiaoyang
   * @date 2022/05/11
   */
  @TableName("user_comment")
  public class UserComment implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      /**
       * 主键
       */
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 评论用户ID
       */
      private Long userId;
  
      /**
       * 评论小说ID
       */
      private Long bookId;
  
      /**
       * 评价内容
       */
      private String commentContent;
  
      /**
       * 回复数量
       */
      private Integer replyCount;
  
      /**
       * 审核状态;0-待审核 1-审核通过 2-审核不通过
       */
      private Integer auditStatus;
  
      /**
       * 创建时间
       */
      private LocalDateTime createTime;
  
      /**
       * 更新时间
       */
      private LocalDateTime updateTime;
  
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Long getUserId() {
          return userId;
      }
  
      public void setUserId(Long userId) {
          this.userId = userId;
      }
  
      public Long getBookId() {
          return bookId;
      }
  
      public void setBookId(Long bookId) {
          this.bookId = bookId;
      }
  
      public String getCommentContent() {
          return commentContent;
      }
  
      public void setCommentContent(String commentContent) {
          this.commentContent = commentContent;
      }
  
      public Integer getReplyCount() {
          return replyCount;
      }
  
      public void setReplyCount(Integer replyCount) {
          this.replyCount = replyCount;
      }
  
      public Integer getAuditStatus() {
          return auditStatus;
      }
  
      public void setAuditStatus(Integer auditStatus) {
          this.auditStatus = auditStatus;
      }
  
      public LocalDateTime getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
  
      public LocalDateTime getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
  
      @Override
      public String toString() {
          return "UserComment{" +
          "id=" + id +
          ", userId=" + userId +
          ", bookId=" + bookId +
          ", commentContent=" + commentContent +
          ", replyCount=" + replyCount +
          ", auditStatus=" + auditStatus +
          ", createTime=" + createTime +
          ", updateTime=" + updateTime +
          "}";
      }
  }
  