content: package com.verio.entity;
  
  import com.alibaba.fastjson.annotation.JSONField;
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import lombok.AllArgsConstructor;
  import lombok.Builder;
  import lombok.Data;
  import lombok.NoArgsConstructor;
  
  import java.io.Serializable;
  import java.util.Date;
  
  /**
   * 收藏实体
   *
   * @author <a href="http://xuewei.world/about">XUEW</a>
   */
  @Data
  @NoArgsConstructor
  @AllArgsConstructor
  @Builder
  @TableName("favor")
  public class Favor implements Serializable {
  
      private static final long serialVersionUID = 499221270151209597L;
  
      /**
       * 主键ID
       */
      @TableId(type = IdType.AUTO)
      private Integer id;
  
      /**
       * 用户ID
       */
      private Integer userId;
  
      /**
       * 房子ID
       */
      private Integer roomId;
  
      /**
       * 创建时间
       */
      @JSONField(format = "yyyy-MM-dd HH:mm:ss")
      private Date createTime;
  
      /**
       * 修改时间
       */
      @JSONField(format = "yyyy-MM-dd HH:mm:ss")
      private Date updateTime;
  
  }
  