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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.activity.props.ActivityRewardProps;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动道具奖励配置.
 * </p>
 *
 * @author pengshigang
 * @since 2021-06-07
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ActivityCumulativeRewardPropsCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 奖品
   */
  private List<ActivityRewardProps> activityRewardPropsList;

  /**
   * 领奖要求
   */
  private BigDecimal quantity;

  /**
   * 0 不能领取； 1 待领取； 2 已领取
   */
  private Integer state;

}
