Last change
on this file was 00fa72f, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
Reservation Implemented
|
-
Property mode
set to
100644
|
File size:
611 bytes
|
Line | |
---|
1 | package com.example.moviezone.repository;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Category;
|
---|
4 | import com.example.moviezone.model.Projection;
|
---|
5 | import com.example.moviezone.model.Projection_Room;
|
---|
6 | import com.example.moviezone.model.Seat;
|
---|
7 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
8 | import org.springframework.stereotype.Repository;
|
---|
9 |
|
---|
10 | import java.util.List;
|
---|
11 |
|
---|
12 | @Repository
|
---|
13 | public interface SeatRepository extends JpaRepository<Seat,Integer> {
|
---|
14 | List<Seat> findAllByProjection(Projection_Room projection);
|
---|
15 | List<Seat> findAllByCategoryAndProjection(Category category, Projection_Room projectionRoom);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.