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

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 com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房间背景
 * </p>
 *
 * @author houyong
 * @since 2020-12-09
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("room_theme_store")
public class RoomThemeStore extends TimestampBaseEntity implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 房间主题背景图
   */
  @TableField("theme_back")
  private String themeBack;

  /**
   * 0.下架 1.上架
   */
  @TableField("is_showcase")
  private Boolean showcase;

  /**
   * 主题金额
   */
  @TableField("theme_money")
  private BigDecimal themeMoney;

}
