package com.red.circle.order.inner.model.cmd;

import cn.hutool.core.convert.Convert;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 开通支付国家.
 * </p>
 *
 * @author pengliang
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysPayCountryAddCmd extends Convert {

  private static final long serialVersionUID = 1L;

  /**
   * 国家id
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long countryId;

  /**
   * 国家货币
   */
  private String currency;

  /**
   * 美元换算概率
   */
  private BigDecimal usdExchangeRate;

  /**
   * 0.下架 1.上架
   */
  private Boolean shelf;

}
