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>
 * 游戏王临时统计表.
 * </p>
 *
 * @author pengshigang
 * @since 2021-12-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_king_activity_record")
public class GameKingActivityRecord extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 归属平台.
   */
  @TableField("sys_origin")
  private String sysOrigin;

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

  /**
   * 贡献数量.
   */
  @TableField("quantity")
  private BigDecimal quantity;

  /**
   * 回合.
   */
  @TableField("rounds")
  private Long rounds;

  /**
   * H5显示: 0.上方 1.下方.
   */
  @TableField("position")
  private Boolean position;

  /**
   * 顺序.
   */
  @TableField("sort")
  private Integer sort;

  /**
   * 3:8强, 4:4强, 5:决赛 6:冠军.
   */
  @TableField("process")
  private Integer process;


}
