package com.red.circle.other.infra.database.rds.entity.props;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户房间主题背包.
 * </p>
 *
 * @author pengliang
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_theme_user_backpack")
public class RoomThemeUserBackpack extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识
   */
  @TableId("id")
  private Long id;

  /**
   * 用户id
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 主题id
   */
  @TableField("theme_id")
  private Long themeId;

  /**
   * 0.主题商城 1.自定义
   */
  @TableField("theme_type")
  private Integer themeType;

  /**
   * 是否使用主题
   */
  @TableField("is_use_theme")
  private Boolean useTheme;

  /**
   * 过期时间
   */
  @TableField("expire_time")
  private Long expireTime;


}
