package com.red.circle.wallet.infra.database.mongo.dto.query;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import lombok.Data;

/**
 * 金币分析查询.
 *
 * @author pengliang on 2021/9/2
 */
@Data
public class GoldAnalyzeQuery implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 类型.
   */
  @NotNull
  private Integer type;

  /**
   * 归属系统.
   */
  @NotBlank
  private String sysOrigin;

  /**
   * 用户id.
   */
  private Long userId;

  private List<Long> userIds;

  /**
   * 开始时间.
   */
  @NotNull
  private LocalDateTime startTime;

  /**
   * 结束时间.
   */
  @NotNull
  private LocalDateTime endTime;
}
