source: src/main/java/com/example/eatys_app/repository/RezervacijaRepository.java

Last change on this file was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago

Adding project to repo

  • Property mode set to 100644
File size: 439 bytes
Line 
1package com.example.eatys_app.repository;
2
3import com.example.eatys_app.model.Kupuvac;
4import com.example.eatys_app.model.Naracka;
5import com.example.eatys_app.model.Rezervacija;
6import org.springframework.data.jpa.repository.JpaRepository;
7
8import java.util.List;
9import java.util.Optional;
10
11public interface RezervacijaRepository extends JpaRepository<Rezervacija, Integer> {
12
13 List<Rezervacija> findAllByKupuvac(Kupuvac kupuvac);
14
15}
Note: See TracBrowser for help on using the repository browser.