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.common.business.enums.PropsActivityReceiveStatusEnum;
import com.red.circle.other.inner.model.dto.activity.props.ActivityResource;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 累计充值.
 *
 * @author pengliang on 2021/6/22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ActivityResourceCumulativeRechargeCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 领取状态:NOT_RECEIVED(未领取),RECEIVED(已领取),INELIGIBLE(不符合领取条件).
   */
  private PropsActivityReceiveStatusEnum receiveStatus;

  /**
   * 活动道具奖励配置.
   */
  private ActivityResource activityResource;

  /**
   * 是否允许上传专属礼物信息.
   */
  private Boolean allowUpload;

  /**
   * 上传专属礼物id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long customGiftRecordId;

}
