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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每月充值用户.
 * </p>
 *
 * @author pengshigang
 * @since 2022-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MonthlyRechargeUserDTO implements Serializable {

  @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;

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

}
