Changeset eb226b2 for src/main/java/com/example/moviezone/repository
- Timestamp:
- 02/04/23 00:39:48 (22 months ago)
- Branches:
- master
- Children:
- 2269653
- Parents:
- ac25203
- Location:
- src/main/java/com/example/moviezone/repository
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/CategoryRepository.java
rac25203 reb226b2 5 5 import org.springframework.stereotype.Repository; 6 6 7 7 @Repository 8 8 public interface CategoryRepository extends JpaRepository<Category,Integer>{ 9 9 } -
src/main/java/com/example/moviezone/repository/CinemaOrganizesEventRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.manytomany.CinemaOrganizesEventId; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 8 @Repository 7 9 public interface CinemaOrganizesEventRepository extends JpaRepository<CinemaOrganizesEvent, CinemaOrganizesEventId> { 8 10 } -
src/main/java/com/example/moviezone/repository/CinemaPlaysFilmRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.manytomany.CinemaPlaysFilmId; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 8 @Repository 7 9 public interface CinemaPlaysFilmRepository extends JpaRepository<CinemaPlaysFilm, CinemaPlaysFilmId> { 8 10 } -
src/main/java/com/example/moviezone/repository/CinemaRepository.java
rac25203 reb226b2 3 3 import com.example.moviezone.model.Cinema; 4 4 import org.springframework.data.jpa.repository.JpaRepository; 5 import org.springframework.stereotype.Repository; 5 6 6 7 7 8 @Repository 8 9 public interface CinemaRepository extends JpaRepository<Cinema,Integer> { 9 10 } -
src/main/java/com/example/moviezone/repository/CustomerIsInterestedInEventRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.manytomany.CustomerIsInterestedInEventId; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 8 @Repository 7 9 public interface CustomerIsInterestedInEventRepository extends JpaRepository<CustomerIsInterestedInEvent, CustomerIsInterestedInEventId> { 8 10 } -
src/main/java/com/example/moviezone/repository/CustomerRatesFilmRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.manytomany.CustomerRatesFilmId; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 8 @Repository 7 9 public interface CustomerRatesFilmRepository extends JpaRepository<CustomerRatesFilm, CustomerRatesFilmId> { 8 10 } -
src/main/java/com/example/moviezone/repository/CustomerRepository.java
rac25203 reb226b2 3 3 import com.example.moviezone.model.Customer; 4 4 import org.springframework.data.jpa.repository.JpaRepository; 5 import org.springframework.stereotype.Repository; 5 6 7 @Repository 6 8 public interface CustomerRepository extends JpaRepository<Customer,Integer> { 7 9 } -
src/main/java/com/example/moviezone/repository/SeatRepository.java
rac25203 reb226b2 3 3 import com.example.moviezone.model.Seat; 4 4 import org.springframework.data.jpa.repository.JpaRepository; 5 import org.springframework.stereotype.Repository; 5 6 7 @Repository 6 8 public interface SeatRepository extends JpaRepository<Seat,Integer> { 7 9 } -
src/main/java/com/example/moviezone/repository/TicketRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.Ticket; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 7 8 import java.util.List; 8 9 @Repository 9 10 public interface TicketRepository extends JpaRepository<Ticket,Integer> { 10 11 List<Ticket> findAllByCustomer(Customer customer); -
src/main/java/com/example/moviezone/repository/UserRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.User; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 7 8 import java.util.List; 8 9 @Repository 9 10 public interface UserRepository extends JpaRepository<User,Integer> { 10 11 User findByUsername(String username); -
src/main/java/com/example/moviezone/repository/Work_Hours_WeeklyRepository.java
rac25203 reb226b2 4 4 import com.example.moviezone.model.Work_Hours_Weekly; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 8 @Repository 7 9 public interface Work_Hours_WeeklyRepository extends JpaRepository<Work_Hours_Weekly,Integer> { 8 10 } -
src/main/java/com/example/moviezone/repository/WorkerRepository.java
rac25203 reb226b2 3 3 import com.example.moviezone.model.Worker; 4 4 import org.springframework.data.jpa.repository.JpaRepository; 5 import org.springframework.stereotype.Repository; 5 6 7 @Repository 6 8 public interface WorkerRepository extends JpaRepository<Worker,Integer> { 7 9 }
Note:
See TracChangeset
for help on using the changeset viewer.