package de.effigenix.infrastructure.masterdata.persistence.repository;

import de.effigenix.infrastructure.masterdata.persistence.entity.SupplierEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SupplierJpaRepository extends JpaRepository<SupplierEntity, String> {

    List<SupplierEntity> findByStatus(String status);

    boolean existsByName(String name);
}
