Skip to content
Snippets Groups Projects
Commit 2f9b0ff0 authored by Gwan Ju's avatar Gwan Ju
Browse files

feat : Create UserRepository class

parent ac65f22d
Branches
No related tags found
1 merge request!1게시글 작성, 댓글 작성, 유저 관리 기능 추가
package umc.spring.post.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import umc.spring.post.data.entity.User;
import java.util.Optional;
public interface UserRepository extends JpaRepository<User, Long> {
Optional<User> findByUserId(String userId);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment