package com.bcxin.tenant.domain.repositories;

import com.bcxin.Infrastructures.EntityRepository;
import com.bcxin.tenant.domain.entities.OrganizationStatisticsReportEntity;
import com.bcxin.tenant.domain.repositories.dtos.OrganizationStatisticsDto;

import java.util.Collection;
import java.util.List;

public interface OrganizationStatisticsReportsRepository extends EntityRepository<OrganizationStatisticsReportEntity,String> {
    Collection<OrganizationStatisticsDto> getOrganizationStatisticsInfo(Collection<String> orgIds);

    <S extends OrganizationStatisticsReportEntity> List<S> saveAll(Iterable<S> entities);

    List<OrganizationStatisticsReportEntity> findAll();
    List<OrganizationStatisticsReportEntity> findAllById(Iterable<String> ids);
}
