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 com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 爆水晶获奖用户.
 *
 * @author pengliang on 2021/7/3
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameBurstCrystalWinnerUserProfileCO extends ClientObject {

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

  /**
   * 奖品id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long prizeId;

  /**
   * 排名.
   */
  private Integer rank;

}
