package com.red.circle.console.infra.database.rds.entity.count;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
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 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("statistics_monthly_purchase_amount_platform")
public class StatisticsMonthlyPurchaseAmountPlatform extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 平台
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 日期数字
   */
  @TableField("date_number")
  private Integer dateNumber;

  /**
   * android数量
   */
  @TableField("android_quantity")
  private BigDecimal androidQuantity;

  /**
   * ios数量
   */
  @TableField("ios_quantity")
  private BigDecimal iosQuantity;

  /**
   * h5 数量
   */
  @TableField("h5_quantity")
  private BigDecimal h5Quantity;

  /**
   * 完成充值量
   */
  @TableField("complete_quantity")
  private BigDecimal completeQuantity;

  /**
   * 退款数量
   */
  @TableField("reimburse_quantity")
  private BigDecimal reimburseQuantity;

  /**
   * 线下充值数量.
   */
  @TableField("offline_quantity")
  private BigDecimal offlineQuantity;

  /**
   * 统计时间
   */
  @TableField("statistics_time")
  private Timestamp statisticsTime;

}
