package com.red.circle.mq.business.model.event.gift;

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

/**
 * @author pengliang on 2021/8/21
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GiveGiftConfig implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 礼物价值/糖果.
   */
  private BigDecimal giftCandy;

  /**
   * 可兑积分.
   */
  private BigDecimal giftIntegral;

  /**
   * 特效.
   */
  private String special;

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

  /**
   * 礼物tab.
   */
  private String giftTab;

}
