package com.red.circle.console.app.service.app.user;

import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
import com.red.circle.other.inner.model.cmd.user.OnlineCountQryCmd;
import com.red.circle.other.inner.model.dto.user.ActiveUserCountryCodeDTO;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 用户扩展信息 服务类.
 * </p>
 *
 * @author lisizhe
 * @since 2023-10-16
 */
public interface DatavService {

  /**
   * 最新两小时在线用户分布国家.
   *
   * @param lastActiveTime ignore
   * @return list
   */
  List<ActiveUserCountryCodeDTO> latestActiveUserCountryCode(LocalDateTime lastActiveTime);

  Integer onlineTotal(OnlineCountQryCmd onlineCountQuery);

  Long count(String sysOrigin);
}
