2025-04-08 18:36:26 +00:00
|
|
|
package com.ieslamar.GestionInventario.repos;
|
|
|
|
|
|
|
|
|
|
import com.ieslamar.GestionInventario.entities.Departamento;
|
2025-05-08 15:00:32 +00:00
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
2025-04-08 18:36:26 +00:00
|
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
2025-05-08 15:00:32 +00:00
|
|
|
import org.springframework.stereotype.Repository;
|
2025-04-08 18:36:26 +00:00
|
|
|
|
2025-05-08 15:00:32 +00:00
|
|
|
@Repository
|
2025-04-08 18:36:26 +00:00
|
|
|
public interface DepartamentoRepository extends JpaRepository<Departamento, Integer> {
|
2025-05-13 14:28:25 +00:00
|
|
|
Departamento getDepartamentoByNombre(String nombre);
|
2025-04-08 18:36:26 +00:00
|
|
|
}
|