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 java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 幸运礼物游戏数据.
 *
 * @author pengshigang on 2023/7/20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameLuckyGiftUserCO extends ClientObject {

  /**
   * 记录ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

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

  /**
   * 数量.
   */
  private Integer quantity;

  /**
   * 倍数.
   */
  private Integer multiple;

  /**
   * 礼物封面.
   */
  private String giftCover;

  /**
   * 中奖金币数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long awardAmount;

  /**
   * 倍数Key.
   */
  private String multipleKey;

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

}
