source: src/main/java/com/example/moviezone/repository/Projection_RoomRepository.java

Last change on this file was 00fa72f, checked in by DenicaKj <dkorvezir@…>, 21 months ago

Reservation Implemented

  • Property mode set to 100644
File size: 492 bytes
Line 
1package com.example.moviezone.repository;
2
3import com.example.moviezone.model.Projection;
4import com.example.moviezone.model.Projection_Room;
5import org.springframework.data.jpa.repository.JpaRepository;
6import org.springframework.data.jpa.repository.query.Procedure;
7
8import java.util.List;
9
10public interface Projection_RoomRepository extends JpaRepository<Projection_Room,Integer> {
11 @Procedure("project.getRoomsForProjection")
12 List<Projection_Room> getRoomsForProjection(int id);
13}
Note: See TracBrowser for help on using the repository browser.