Skip to content

Commit

Permalink
feat: 전화번호, 코드 기반 인증 코드 조회 로직 정의(#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-An committed Mar 27, 2024
1 parent daf55a5 commit 860deb1
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package yeonba.be.login.repository;

import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import yeonba.be.login.entity.VerificationCode;

public interface VerificationCodeRepository extends JpaRepository<VerificationCode, Long> {

Optional<VerificationCode> findByPhoneNumberAndCode(String phoneNumber, String code);
}

0 comments on commit 860deb1

Please sign in to comment.