source: src/main/java/com/example/moviezone/repository/CustomerIsInterestedInEventRepository.java

Last change on this file was ef84238, checked in by DenicaKj <dkorvezir@…>, 21 months ago

Interested in event

  • Property mode set to 100644
File size: 729 bytes
Line 
1package com.example.moviezone.repository;
2
3import com.example.moviezone.model.manytomany.CustomerIsInterestedInEvent;
4import com.example.moviezone.model.manytomany.CustomerIsInterestedInEventId;
5import org.springframework.data.jpa.repository.JpaRepository;
6import org.springframework.stereotype.Repository;
7
8@Repository
9public interface CustomerIsInterestedInEventRepository extends JpaRepository<CustomerIsInterestedInEvent, CustomerIsInterestedInEventId> {
10 CustomerIsInterestedInEvent save(CustomerIsInterestedInEvent customerIsInterestedInEvent);
11 void delete(CustomerIsInterestedInEvent customerIsInterestedInEvent);
12 CustomerIsInterestedInEvent findFirstByIdeventAndAndIdcustomer(int id_event,int id_customer);
13
14}
Note: See TracBrowser for help on using the repository browser.