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

import com.red.circle.framework.dto.ClientObject;
import com.red.circle.order.inner.model.dto.UserMonthlyRechargeDTO;
import java.io.Serial;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 累计用户每月充值
 * </p>
 *
 * @author pengshigang
 * @since 2022-05-27
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserMonthlyRechargeCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 充值信息.
   */
  private List<UserMonthlyRechargeDTO> recharges;

  /**
   * 总额.
   */
  private BigDecimal totalAmount;

  /**
   * 充值年月(yyyyMM).
   */
  private Integer rechargeDate;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;
}
