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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.material.PropsActivityRewardConfigInfoDTO;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 活动奖品.
 *
 * @author pengliang on 2022/8/16
 */
@Data
@Accessors(chain = true)
public class ActivityConfigRewardsCO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 名次范围.
   */
  private String rankRange;

  /**
   * 资源组ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long resourceGroupId;

  /**
   * 奖品信息.
   */
  private ActivityPropsGroupCO reward;

  /**
   * 奖品信息.
   */
  private List<PropsActivityRewardConfigInfoDTO> rewards;

  /**
   * 获奖用户.
   */
  private List<UserProfileDTO> awardUsers;
}
