- Timestamp:
- 02/02/23 22:25:55 (23 months ago)
- Branches:
- master
- Children:
- 1b248e4
- Parents:
- 11dea8f
- Location:
- src/main/java/com/example/moviezone
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/CategoryRepository.java
r11dea8f rf60cb20 6 6 7 7 8 public class CategoryRepository{8 public interface CategoryRepository extends JpaRepository<Category,Integer>{ 9 9 } -
src/main/java/com/example/moviezone/repository/CinemaOrganizesEventRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CinemaOrganizesEventRepository { 3 import com.example.moviezone.model.manytomany.CinemaOrganizesEvent; 4 import com.example.moviezone.model.manytomany.CinemaOrganizesEventId; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface CinemaOrganizesEventRepository extends JpaRepository<CinemaOrganizesEvent, CinemaOrganizesEventId> { 4 8 } -
src/main/java/com/example/moviezone/repository/CinemaPlaysFilmRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CinemaPlaysFilmRepository { 3 import com.example.moviezone.model.manytomany.CinemaPlaysFilm; 4 import com.example.moviezone.model.manytomany.CinemaPlaysFilmId; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface CinemaPlaysFilmRepository extends JpaRepository<CinemaPlaysFilm, CinemaPlaysFilmId> { 4 8 } -
src/main/java/com/example/moviezone/repository/CinemaRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CinemaRepository { 3 import com.example.moviezone.model.Cinema; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 7 8 public interface CinemaRepository extends JpaRepository<Cinema,Integer> { 4 9 } -
src/main/java/com/example/moviezone/repository/CustomerIsInterestedInEventRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CustomerIsInterestedInEventRepository { 3 import com.example.moviezone.model.manytomany.CustomerIsInterestedInEvent; 4 import com.example.moviezone.model.manytomany.CustomerIsInterestedInEventId; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface CustomerIsInterestedInEventRepository extends JpaRepository<CustomerIsInterestedInEvent, CustomerIsInterestedInEventId> { 4 8 } -
src/main/java/com/example/moviezone/repository/CustomerRatesFilmRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CustomerRatesFilmRepository { 3 import com.example.moviezone.model.manytomany.CustomerRatesFilm; 4 import com.example.moviezone.model.manytomany.CustomerRatesFilmId; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface CustomerRatesFilmRepository extends JpaRepository<CustomerRatesFilm, CustomerRatesFilmId> { 4 8 } -
src/main/java/com/example/moviezone/repository/CustomerRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class CustomerRepository { 3 import com.example.moviezone.model.Customer; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface CustomerRepository extends JpaRepository<Customer,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/DiscountRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class DiscountRepository { 3 import com.example.moviezone.model.Discount; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface DiscountRepository extends JpaRepository<Discount,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/EventRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class EventRepository { 3 import com.example.moviezone.model.Event; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface EventRepository extends JpaRepository<Event,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/FilmRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class FilmRepository { 3 import com.example.moviezone.model.Film; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface FilmRepository extends JpaRepository<Film,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/ProjectionIsPlayedInRoomRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class ProjectionIsPlayedInRoomRepository { 3 import com.example.moviezone.model.manytomany.ProjectionIsPlayedInRoom; 4 import com.example.moviezone.model.manytomany.ProjectionIsPlayedInRoomId; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface ProjectionIsPlayedInRoomRepository extends JpaRepository<ProjectionIsPlayedInRoom, ProjectionIsPlayedInRoomId> { 4 8 } -
src/main/java/com/example/moviezone/repository/ProjectionRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class ProjectionRepository { 3 import com.example.moviezone.model.Projection; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface ProjectionRepository extends JpaRepository<Projection,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/Projection_RoomRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class Projection_RoomRepository { 3 import com.example.moviezone.model.Projection; 4 import com.example.moviezone.model.Projection_Room; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface Projection_RoomRepository extends JpaRepository<Projection_Room,Integer> { 4 8 } -
src/main/java/com/example/moviezone/repository/SalaryRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class SalaryRepository { 3 import com.example.moviezone.model.Salary; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface SalaryRepository extends JpaRepository<Salary,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/SeatRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class SeatRepository { 3 import com.example.moviezone.model.Seat; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface SeatRepository extends JpaRepository<Seat,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/TicketRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class TicketRepository { 3 import com.example.moviezone.model.Ticket; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface TicketRepository extends JpaRepository<Ticket,Integer> { 4 7 } -
src/main/java/com/example/moviezone/repository/UserRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class UserRepository { 3 4 import com.example.moviezone.model.User; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface UserRepository extends JpaRepository<User,Integer> { 4 8 } -
src/main/java/com/example/moviezone/repository/Work_Hours_WeeklyRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class Work_Hours_WeeklyRepository { 3 4 import com.example.moviezone.model.Work_Hours_Weekly; 5 import org.springframework.data.jpa.repository.JpaRepository; 6 7 public interface Work_Hours_WeeklyRepository extends JpaRepository<Work_Hours_Weekly,Integer> { 4 8 } -
src/main/java/com/example/moviezone/repository/WorkerRepository.java
r11dea8f rf60cb20 1 1 package com.example.moviezone.repository; 2 2 3 public class WorkerRepository { 3 import com.example.moviezone.model.Worker; 4 import org.springframework.data.jpa.repository.JpaRepository; 5 6 public interface WorkerRepository extends JpaRepository<Worker,Integer> { 4 7 } -
src/main/java/com/example/moviezone/service/Impl/CinemaServiceImpl.java
r11dea8f rf60cb20 2 2 3 3 import com.example.moviezone.model.Cinema; 4 import com.example.moviezone.repository.CinemaRepository; 4 5 import com.example.moviezone.service.CinemaService; 5 6 import org.springframework.stereotype.Service; … … 9 10 @Service 10 11 public class CinemaServiceImpl implements CinemaService { 12 private final CinemaRepository cinemaRepository; 13 14 public CinemaServiceImpl(CinemaRepository cinemaRepository) { 15 this.cinemaRepository = cinemaRepository; 16 } 17 11 18 @Override 12 19 public List<Cinema> findAllCinemas() {
Note:
See TracChangeset
for help on using the changeset viewer.