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

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.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * lucky-box抽奖记录.
 * </p>
 *
 * @author zongpubin on 2023-08-26 10:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_lucky_box_count")
public class GameLuckyBoxCount extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

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

  /**
   * 房间ID.
   */
  @TableField("room_id")
  private Long roomId;

  /**
   * 支出金币.
   */
  @TableField("pay_amount")
  private BigDecimal payAmount;

  /**
   * 抽奖频数(点击一次抽奖多少次).
   */
  @TableField("frequency")
  private Integer frequency;

  /**
   * 中奖礼物总价值.
   */
  @TableField("gift_amount")
  private BigDecimal giftAmount;


}
