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

/**
 * <p>
 * 爆水晶游戏获奖名单.
 * </p>
 *
 * @author pengliang
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_burst_crystal_winner_users")
public class GameBurstCrystalWinnerUsers extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 游戏id.
   */
  @TableField("game_id")
  private Long gameId;

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

  /**
   * 奖品id.
   */
  @TableField("prize_id")
  private Long prizeId;

  /**
   * 排名.
   */
  @TableField("`rank`")
  private Integer rank;

}
