Skip to content

Commit

Permalink
[#36]✨Feat: 써밋 레포지토리 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
sumin220 committed Nov 22, 2024
1 parent 0b921df commit 3ccf971
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
import org.springframework.data.jpa.repository.JpaRepository;
import univ.yesummit.domain.summit.entity.Summit;

import java.util.Optional;

public interface SummitRepository extends JpaRepository<Summit, Long> {

Optional<Summit> findTopByOrderByIdDesc();
}

0 comments on commit 3ccf971

Please sign in to comment.