Ignore:
Timestamp:
02/09/23 14:06:45 (21 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
6a9006d, a9ffccd
Parents:
0ba5d1a
Message:

Reservation Implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/repository/SeatRepository.java

    r0ba5d1a r00fa72f  
    11package com.example.moviezone.repository;
    22
     3import com.example.moviezone.model.Category;
     4import com.example.moviezone.model.Projection;
    35import com.example.moviezone.model.Projection_Room;
    46import com.example.moviezone.model.Seat;
     
    1113public interface SeatRepository extends JpaRepository<Seat,Integer> {
    1214    List<Seat> findAllByProjection(Projection_Room projection);
     15    List<Seat> findAllByCategoryAndProjection(Category category, Projection_Room projectionRoom);
    1316}
Note: See TracChangeset for help on using the changeset viewer.