Created
March 15, 2023 08:44
-
-
Save paulouskunda/8cdf096d6f36278f980a8c8672ee1149 to your computer and use it in GitHub Desktop.
Repositories
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
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