Skip to content

Instantly share code, notes, and snippets.

@paulouskunda
Created March 15, 2023 08:44
Show Gist options
  • Save paulouskunda/8cdf096d6f36278f980a8c8672ee1149 to your computer and use it in GitHub Desktop.
Save paulouskunda/8cdf096d6f36278f980a8c8672ee1149 to your computer and use it in GitHub Desktop.
Repositories
import com.paul.entity.IngredientsEntity
import com.paul.entity.InstructionsEntity
import com.paul.entity.RecipeEntity
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
@Repository
interface IngredientsRepository : JpaRepository<IngredientsEntity, Int> {
}
@Repository
interface InstructionsRepository : JpaRepository<InstructionsEntity, Int> {
}
@Repository
interface RecipeRepository : JpaRepository<RecipeEntity, Int> {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment