Changeset fdc651c for src


Ignore:
Timestamp:
02/07/23 15:26:03 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
9eba1fb
Parents:
3242ef4
Message:

seatService, seatServiceImpl

Location:
src/main/java/com/example/moviezone
Files:
2 added
1 edited

Legend:

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

    r3242ef4 rfdc651c  
    11package com.example.moviezone.repository;
    22
     3import com.example.moviezone.model.Projection_Room;
    34import com.example.moviezone.model.Seat;
    45import org.springframework.data.jpa.repository.JpaRepository;
    56import org.springframework.stereotype.Repository;
    67
     8import java.util.List;
     9
    710@Repository
    811public interface SeatRepository extends JpaRepository<Seat,Integer> {
     12    List<Seat> findAllByProjection_room(Projection_Room projection_room);
    913}
Note: See TracChangeset for help on using the changeset viewer.