package com.bcxin.tenant.domain.repositories;

import com.bcxin.Infrastructures.EntityRepository;
import com.bcxin.tenant.domain.entities.ExternalGroupEntity;
import com.bcxin.tenant.domain.repositories.criterias.ExternalGroupSearchCriteria;
import com.bcxin.tenant.domain.repositories.dtos.ExternalGroupDTO;

import java.util.Collection;

public interface ExternalGroupRepository extends EntityRepository<ExternalGroupEntity,String> {
    Collection<ExternalGroupEntity> getByIds(Collection<String> ids);

    Collection<ExternalGroupDTO> getAll(String organizationId);
}
