package com.red.circle.other.inner.model.cmd.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author houyong on 2021/3/10
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class SysGiftPackConfigParamCmd extends CommonCommand {

  private static final long serialVersionUID = 1L;

  /**
   * 类型:  礼物:GIFT  金币:GOLD  头像框：AVATAR_FRAME 座驾：RIDE.
   */
  private String type;

  /**
   * 关联id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long relevanceId;

  /**
   * 礼物数量.
   */
  private Integer giftQuantity;

  /**
   * 道具有效时长 单位：天.
   */
  private Integer effectDuration;

}
