package com.printhub.printhub.repository.configuration;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.printhub.printhub.entity.configuration.Printer;

import java.util.List;

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

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