package com.red.circle.game.fruit.infrastructure.database.entity;

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.BaseEntity;
import java.io.Serial;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 游戏每轮中奖名单.
 * </p>
 *
 * @author lisizhe on 2023-11-30 19:18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("game_fruit_award_record")
public class GameFruitAwardRecord extends BaseEntity {

  @Serial
  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("game_id")
  private Long gameId;

  /**
   * 领取状态(WAITING,RECEIVED).
   */
  @TableField("claim_status")
  private String claimStatus;


}
