πŸ—ƒοΈ Repository κ΅¬ν˜„ μš”μ•½

βœ… κ²Œμ‹œλ¬Ό API와 μ™„μ „νžˆ λ™μΌν•œ 방식


public interface DiaryRepository extends JpaRepository<Diary, Long> {
    // 별도 λ©”μ„œλ“œ 없이도 기본적인 μ €μž₯(save),
    // 단건 쑰회(findById), 전체 쑰회(findAll),
    // μ‚­μ œ(delete) κ°€λŠ₯
}


✨ μ™œ μ΄λ ‡κ²Œλ§Œ 해도 될까?


🧠 μš”μ•½