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 zongpubin on 2023-09-05 12:09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_lucky_box_user_opened_award")
public class GameLuckyBoxUserOpenedAward extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 累计抽奖奖励配置详情id.
   */
  @TableField("award_details_id")
  private Long awardDetailsId;

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

  /**
   * 归属系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;


}
