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

import com.red.circle.other.inner.enums.game.GameRedPacketReceiveStatus;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 领取红包.
 *
 * @author pengliang on 2021/5/17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameReceiveRedPacketCO implements Serializable {

  /**
   * 领取状态.
   */
  private GameRedPacketReceiveStatus receiveStatus;

  /**
   * 发送人.
   */
  private UserProfileDTO senderUser;

  /**
   * 我的领取记录.
   */
  private GameReceiveRedPacketUserCO meReceive;

  /**
   * 总金额.
   */
  private BigDecimal totalAmount;

  /**
   * 红包总数量.
   */
  private Integer totalQuantity;

  /**
   * 已被领取数量.
   */
  private Integer receivedQuantity;

  /**
   * 领取用户列表.
   */
  private List<GameReceiveRedPacketUserCO> recipients;

  /**
   * 是否上次就已经领取(true是, 其他不是)
   */
  private Boolean lastReceived;

}
