package com.bcxin.api.interfaces.commons;

import com.bcxin.api.interfaces.commons.responses.RegionResponse;
import com.bcxin.api.interfaces.commons.responses.RegionTreeResponse;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface RegionRpcProvider {

    List<RegionResponse> findByParentId(String parentId);

    List<RegionTreeResponse> findAll();
}
