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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 用户资料.
   */
  private UserProfileDTO userProfile;
}
