Skip to content

Instantly share code, notes, and snippets.

@mainul35
Created September 6, 2020 07:58
Show Gist options
  • Save mainul35/6d442ac37593734205e45f613c3f09d0 to your computer and use it in GitHub Desktop.
Save mainul35/6d442ac37593734205e45f613c3f09d0 to your computer and use it in GitHub Desktop.
@Repository
public interface ReservationRepository extends ReactiveCrudRepository<Reservation, Long> {
Mono<Reservation> getReservationByRoomId(Long roomId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment