package com.red.circle.other.app.dto.clientobject.gift;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 礼物信息.
 * </p>
 *
 * @author pengliang
 * @since 2020-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GiftConfigCO extends ClientObject {

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

  /**
   * 礼物code.
   */
  private String giftCode;

  /**
   * 礼物图片.
   */
  private String giftPhoto;

  /**
   * 礼物图片资源.
   */
  private String giftSourceUrl;

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

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

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

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

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

  /**
   * 规格ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long standardId;

  /**
   * 告白礼物 0不是. 1.是.
   */
  private Boolean explanationGift;

  /**
   * 专属礼物归属人account.
   */
  private String account;

  /**
   * 专属礼物归属人.
   */
  private Long userId;

  /**
   * 礼物名称.
   */
  private String giftName;

  /**
   * 过期时间
   */
  private Timestamp expiredTime;

}
