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

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

/**
 * <p>
 * 充值过的用户.
 * </p>
 *
 * @author pengshigang on 2022/5/27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TotalRechargeUserDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

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

}
