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.Getter;
import lombok.Setter;

/**
 * <p>
 * 抽奖概率配置.
 * </p>
 *
 * @author zongpubin on 2023-08-26 10:41
 */
@Getter
@Setter
@TableName("game_lucky_box_probability_config")
public class GameLuckyBoxProbabilityConfig extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 抽奖频数配置id.
   */
  @TableField("time_id")
  private Long timeId;

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

  /**
   * 概率(万分比).
   */
  @TableField("probability")
  private Integer probability;

  /**
   * 幸运时刻概率(万分比).
   */
  @TableField("lucky_probability")
  private Integer luckyProbability;

  /**
   * 抽奖规格礼物配置id.
   */
  @TableField("gift_config_id")
  private Long giftConfigId;

  /**
   * 库存数量.
   */
  @TableField("quantity")
  private Integer quantity;


}
