package com.bcxin.tenant.domain.repositories;

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

import java.util.Collection;
import java.util.List;

public interface OrganizationTypeRepository extends EntityRepository<OrganizationTypeEntity,Long> {

    void deleteById(long id);


    OrganizationTypeEntity findById(long id);

    Collection<OrganizationTypeEntity> findByOrganizationId(String organizationId);

}
