Line | |
---|
1 | package com.example.moviezone.service;
|
---|
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 |
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Optional;
|
---|
10 |
|
---|
11 | public interface SeatService {
|
---|
12 | List<Seat> findAllSeats();
|
---|
13 | List<Seat> findAllByProjection_Room(Projection_Room projection_room);
|
---|
14 | List<Seat> findAllByRoomAndCategory(Projection projection, Projection_Room projectionRoom, Category category);
|
---|
15 | Optional<Seat> getSeatById(int id);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.