package com.red.circle.console.app.dto.clienobject.count.ops;

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

/**
 * <p>
 * 每日内购量.
 * </p>
 *
 * @author pengliang
 * @since 2020-11-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class StatisticsDailyPurchaseAmountCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 区域code，DAILY=每天.
   */
  private String areaCode;

  /**
   * 平台.
   */
  private String platform;

  /**
   * 内购.
   */
  private BigDecimal purchase;

  /**
   * 退款.
   */
  private BigDecimal refund;

  /**
   * 统计时间.
   */
  private Timestamp statisticsTime;

  private Timestamp createTime;
  private Timestamp updateTime;
  private Long createUser;
  private Long updateUser;

}
