package com.printhub.printhub.repository.configuration;

import com.printhub.printhub.model.configuration.Printer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface PrinterRepository extends JpaRepository<Printer, Long>, JpaSpecificationExecutor<Printer> {

    // Consulta simple adicional (opcional)
    List<Printer> findByNameContainingIgnoreCase(String name);
}
