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 com.red.circle.framework.core.dto.CommonCommand;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 幸运值概率配置
 *
 * @author zongpubin on 2023/8/18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyBoxFortuneValueConfigDTO extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 1点幸运值概率(单抽).
   */
  private Integer oneDot;

  /**
   * 2点幸运值概率(单抽).
   */
  private Integer twoDot;

  /**
   * 3点幸运值概率(单抽).
   */
  private Integer threeDot;

  /**
   * 11-15点幸运值概率(10抽).
   */
  private Integer aroundElevenDot;

  /**
   * 16-20点幸运值概率(10抽).
   */
  private Integer aroundSixteenDot;

  /**
   * 21-25点幸运值概率(10抽).
   */
  private Integer aroundTwentyOneDot;

  /**
   * 26-30点幸运值概率(10抽).
   */
  private Integer aroundTwentySixDot;

  /**
   * 51-100点幸运值概率(50抽).
   */
  private Integer aroundFiftyOneDot;

  /**
   * 101-150点幸运值概率(50抽).
   */
  private Integer aroundOneHundredDot;

  /**
   * 幸运时刻1触发需要的幸运值.
   */
  private Integer luckyTimeOne;

  /**
   * 幸运时刻2触发需要的幸运值.
   */
  private Integer luckyTimeTwo;

  /**
   * 幸运时刻时长(单位秒).
   */
  private Integer luckyTimeDuration;

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

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

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

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

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

}
