package com.red.circle.other.app.dto.clientobject.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.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 领取红包用户.
 *
 * @author pengliang on 2021/5/17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameReceiveRedPacketUserCO implements Serializable {

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

  /**
   * 用户昵称.
   */
  private String userNickname;

  /**
   * 用户头像.
   */
  private String userAvatar;

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

  /**
   * 领取时间.
   */
  private Timestamp createTime;

}
