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

import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 邀请活动.
 *
 * @author pengshigang on 2022/9/13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class InviteActivityCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  private List<InviteActivityInfoCO> agentUsers;
  private List<InviteActivityInfoCO> users;
  private Long totalAmount;
  private Long agentAmount;
  private Long userAmount;


  @Data
  @Accessors(chain = true)
  public static class InviteActivityInfoCO implements Serializable {

    /**
     * 用户信息.
     */
    private UserProfileDTO userProfile;

    /**
     * 奖金数量
     */
    private Long awardMoney;

    /**
     * 主播数量.
     */
    private Long anchorNumber;

  }

}
