package com.red.circle.order.inner.model.dto.inapp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2022/11/25
 */
@Data
@Accessors(chain = true)
public class CountUserInAppPurchaseDTO implements Serializable {

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

  /**
   * 金额 .
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private BigDecimal amount;

}
