package com.red.circle.wallet.app.dto.clientobject;

import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 钻石配置.
 *
 * @author pengshigang on 2023/7/21
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class DiamondConfigCO extends ClientObject {

  /**
   * 是否允许兑换(true 允许).
   */
  private Boolean checkExchange;

  /**
   * 钻石起兑最小数量.
   */
  private Long minExchangeDiamond;

  /**
   * 比例(如:0.2就是20%).
   */
  private BigDecimal diamondEqGold;

}
