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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

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

  private static final long serialVersionUID = 1L;

  /**
   * 礼包id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long giftPackId;

  /**
   * 赠送的金币.
   */
  private BigDecimal gold;

  /**
   * 礼包配置项.
   */
  private List<SysGiftPackConfigParamDTO> giftPackConfigParams;

}
