Ignore:
Timestamp:
02/02/23 22:46:30 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
ac25203
Parents:
f60cb20
Message:

service impl changes

File:
1 edited

Legend:

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

    rf60cb20 r1b248e4  
    11package com.example.moviezone.repository;
    22
     3import com.example.moviezone.model.Customer;
    34import com.example.moviezone.model.Ticket;
    45import org.springframework.data.jpa.repository.JpaRepository;
    56
     7import java.util.List;
     8
    69public interface TicketRepository extends JpaRepository<Ticket,Integer> {
     10    List<Ticket> findAllByCustomer(Customer customer);
    711}
Note: See TracChangeset for help on using the changeset viewer.