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 pengshigang
 * @since 2021-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_user_lottery_details_record")
public class GameUserLotteryDetailsRecord extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 用户游戏抽奖记录id.
   */
  @TableField("lottery_id")
  private Long lotteryId;

  /**
   * 封面.
   */
  @TableField("cover")
  private String cover;

  /**
   * 道具类型.
   */
  @TableField("type")
  private String type;

  /**
   * 道具明细类型.
   */
  @TableField("detail_type")
  private String detailType;

  /**
   * 内容(道具id或金币钻石等).
   */
  @TableField("content")
  private String content;

  /**
   * 奖品数量.
   */
  @TableField("quantity")
  private Integer quantity;

}
