package com.bcxin.api.interfaces.tenants;

import com.bcxin.api.interfaces.tenants.responses.OrgRelationResponse;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OrgRelationRpcProvider {

    String create(String organizationId, String parentOrgId);

    void relieve(String relationId);

    List<OrgRelationResponse> getParentList(String organizationId);

    List<OrgRelationResponse> getChildrenList(String organizationId);
}
