package com.bcxin.tenant.domain.repositories;

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

import java.util.Collection;

public interface InviteOrganizationRelationshipRepository extends EntityRepository<InviteOrganizationRelationshipEntity,Long> {

    Collection<InviteOrganizationRelationshipEntity> findByOrganizationId(String organizationId);
    Collection<InviteOrganizationRelationshipEntity> findByCode(String code);

}
