package com.red.circle.other.inner.model.dto.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 抽奖概率配置.
 * </p>
 *
 * @author zongpubin on 2023-08-18 17:43
 */
@Data
@Accessors(chain = true)
public class GameLuckyBoxProbabilityConfigDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 抽奖频数配置id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long timeId;

  /**
   * 归属系统.
   */
  private String sysOrigin;

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

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

  /**
   * 礼物配置表id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long giftConfigId;

  /**
   * 库存数量.
   */
  private Integer quantity;


}
