content: package com.www.pojo;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableField;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import java.io.Serializable;
  import java.util.Date;
  import java.util.List;
  
  import lombok.Data;
  
  /**
   * 
   * @TableName sys_comment
   */
  @TableName(value ="sys_comment")
  @Data
  public class SysComment implements Serializable {
      /**
       * 评论ID
       */
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 父节点
       */
      @TableField(value = "parent_id")
      private Integer parentId;
  
      /**
       * 房屋ID
       */
      @TableField(value = "house_id")
      private Long houseId;
  
      /**
       * 用户ID
       */
      @TableField(value = "user_id")
      private Long userId;
  
      /**
       * 地址
       */
      @TableField(value = "address")
      private String address;
  
      /**
       * 评论内容
       */
      @TableField(value = "content")
      private String content;
  
      /**
       * 点赞数
       */
      @TableField(value = "likes")
      private Integer likes;
  
      /**
       * 图片
       */
      @TableField(value = "content_img")
      private String contentImg;
  
      /**
       * 创建时间
       */
      @TableField(value = "create_time")
      private Date createTime;
  
      @TableField(value = "update_time")
      private Date updateTime;
  
      @TableField(exist = false)
      private static final long serialVersionUID = 1L;
  
      @TableField(exist = false)
      private SysUser user;
  
      @TableField(exist = false)
      private List<SysComment> reply;
  
  
  
  
  }