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 java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 礼物规格概率详情.
 * </p>
 *
 * @author zongpubiin on 2023-06-16 17:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_lucky_gift_probability_details")
public class LuckyGiftProbabilityDetails extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 概率基础配置id.
   */
  @TableField("probability_id")
  private Long probabilityId;

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

  /**
   * 倍数.
   */
  @TableField("multiple")
  private Integer multiple;

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

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

  /**
   * 0.未删除 1.已删除.
   */
  @TableField("is_del")
  private Boolean del;


}
