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.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 礼物规格概率详情
 *
 * @author zongpubin on 2023/6/19
 */
@Data
@Accessors(chain = true)
public class GameLuckyGiftProbabilityDetailsDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 概率基础配置id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long probabilityId;

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

  /**
   * 倍数.
   */
  private Integer multiple;

  /**
   * 概率.
   */
  private Integer probability;

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

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * 创建用户.
   */
  private Long createUser;

  /**
   * 修改用户.
   */
  private Long updateUser;

  public void setOperationUser(Long operationUser) {
    this.setCreateUser(operationUser);
    this.setUpdateUser(operationUser);
  }

}
