source: src/main/java/com/example/baza/repository/BibliotekarRepository.java

Last change on this file was ed20c2c, checked in by HumaSejdini <humasejdini12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 449 bytes
Line 
1package com.example.baza.repository;
2
3import com.example.baza.model.Bibliotekar2;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.List;
8
9@Repository
10public interface BibliotekarRepository extends JpaRepository<Bibliotekar2, Integer> {
11 List<Bibliotekar2> findByIdNaBibliotekar(Integer idNaBibliotekar);
12
13 void deleteByIdNaBibliotekar(Integer idNaBibliotekar);
14}
Note: See TracBrowser for help on using the repository browser.