package com.bcxin.tenant.domain.repositories;

import com.bcxin.Infrastructures.EntityRepository;
import com.bcxin.tenant.domain.entities.RegionEntity;

import java.util.Collection;

public interface RegionRepository extends EntityRepository<RegionEntity, String> {

    Collection<RegionEntity> findByParentId(String parentId);

    Collection<RegionEntity> findAll();
}
