Created
February 8, 2018 17:25
-
-
Save AntonioMontanha/df6f766549de4d86937ced41dd70cc14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.montanha.gerenciador.repositories; | |
import org.springframework.data.jpa.repository.JpaRepository; | |
import org.springframework.stereotype.Repository; | |
import com.montanha.gerenciador.entities.Viagem; | |
@Repository | |
public interface ViagemRepository extends JpaRepository<Viagem, Long> { | |
Viagem findByLocalDeDestino(String localDeDestino); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment