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 GameLuckyGiftRuleConfigDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 收礼金额分成比例.
   */
  private Integer giftShareRatio;

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

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

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

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

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

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

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

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

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

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

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

}
