source: src/main/java/com/project/beautycenter/repository/RezervacijaUslugiRepository.java

Last change on this file was 850b344, checked in by Tamara Simikj <tamara.simic12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 540 bytes
Line 
1package com.project.beautycenter.repository;
2
3import com.project.beautycenter.model.Rezervacija;
4import com.project.beautycenter.model.RezervacijaUslugi;
5import com.project.beautycenter.model.RezervacijaUslugiId;
6import org.springframework.data.jpa.repository.JpaRepository;
7
8import java.util.List;
9
10public interface RezervacijaUslugiRepository extends JpaRepository<RezervacijaUslugi, RezervacijaUslugiId> {
11 List<RezervacijaUslugi> findAllByBrRez(Rezervacija r);
12
13 List<RezervacijaUslugi>deleteAllByBrRez(Rezervacija rezervacija);
14}
Note: See TracBrowser for help on using the repository browser.