package com.red.circle.other.inner.model.dto.game;

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

/**
 * <p>
 * 领取红包用户.
 * </p>
 *
 * @author pengliang on 2022/7/8
 */
@Data
@Accessors(chain = true)
public class GameRedPacketReceiveUsersDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 领取数量.
   */
  private BigDecimal amount;

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