source: src/main/java/com/project/beautycenter/repository/VraboteniUslugiRepository.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: 399 bytes
Line 
1package com.project.beautycenter.repository;
2
3import com.project.beautycenter.model.*;
4import org.springframework.data.jpa.repository.JpaRepository;
5
6import java.util.List;
7
8public interface VraboteniUslugiRepository extends JpaRepository<VraboteniUslugi, VraboteniUslugiId> {
9
10 List<VraboteniUslugi> findAllByUsluga(Uslugi usluga);
11 List<VraboteniUslugi> deleteAllByUsluga(Uslugi usluga);
12
13
14}
Note: See TracBrowser for help on using the repository browser.