package com.red.circle.other.infra.database.mongo.entity.game.luck;

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

/**
 * luck box 中奖道具.
 *
 * @author pengliang on 2022/7/28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyBoxProps implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 类型.
   */
  private String type;

  /**
   * 道具Id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long propsId;

  /**
   * 道具封面.
   */
  private String propsCover;

  /**
   * 道具名称.
   */
  private String propsName;

  /**
   * 价值.
   */
  private BigDecimal amount;

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

}
