package com.red.circle.other.infra.database.mongo.entity.game.redpacket.query;

import com.red.circle.other.inner.enums.game.RedPacketEnum;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 红包发送记录.
 * </p>
 *
 * @author pengshigang on 2022/7/8
 */
@Data
@Accessors(chain = true)
public class GameRedPacketQuery implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 红包ID.
   */
  private Long id;

  /**
   * 红包类型
   */
  private RedPacketEnum type;

  /**
   * 系统平台.
   */
  private String sysOrigin;

  /**
   * 关联id.
   */
  private Long relationId;

  /**
   * 领取人id.
   */
  private Long receiverId;

  /**
   * 开始时间.
   */
  private LocalDateTime startCreateDate;

  /**
   * 结束时间.
   */
  private LocalDateTime endCreateDate;

  /**
   * 最后一条记录ID.
   */
  private Long lastId;

  /**
   * 数量.
   */
  private Integer limit;
}
