package com.bcxin.tenant.open.domains.repositories;

import com.bcxin.tenant.open.domains.criterias.ProjectAdvanceSearchCriteria;
import com.bcxin.tenant.open.domains.entities.RdProjectEntity;
import com.bcxin.tenant.open.infrastructures.EntityCollection;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface RdProjectRepository extends RepositoryBase<RdProjectEntity> {
    Collection<RdProjectEntity> getByPage(Collection<String> ids, int pageIndex, int pageSize);

    EntityCollection<RdProjectEntity> search(ProjectAdvanceSearchCriteria criteria);

    RdProjectEntity getByV5Id(String id);
}
