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 on  2021-07-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("statistics_daily_currency_count_platform")
public class StatisticsDailyCurrencyCountPlatform extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 货币类型.
   */
  @TableField("currency_type")
  private String currencyType;

  /**
   * 0.收入 1.支出.
   */
  @TableField("type")
  private Integer type;

  /**
   * 数量.
   */
  @TableField("quantity")
  private BigDecimal quantity;

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

}
