package com.red.circle.order.app.dto.clientobject.pay;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应用商品.
 * </p>
 *
 * @author pengshigang
 * @since 2021-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PayApplicationCommodityCO extends ClientObject {

  private static final long serialVersionUID = 1L;

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

  /**
   * 应用id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long applicationId;

  /**
   * 开通支付国家.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long payCountryId;

  /**
   * 内容.
   */
  private String content;

  /**
   * 奖励内容.
   */
  private String awardContent;

  /**
   * 美元金额.
   */
  private BigDecimal amountUsd;

  /**
   * 计算后等价格.
   */
  private BigDecimal amount;

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