Skip to content

Commit

Permalink
feat: User Entity 스펙변경에 따른 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
masiljangajji committed Oct 11, 2024
1 parent c342502 commit 53583b8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
import my.music.note.back.user.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface UserRepository extends JpaRepository<User, Long> {


boolean existsByProviderId(String providerId);

User findByProviderId(String providerId);

User findByUserId(Long userId);
Optional<User> findById(Long id);

}

0 comments on commit 53583b8

Please sign in to comment.