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 | |
---|
1 | package com.example.baza.repository;
|
---|
2 |
|
---|
3 | import com.example.baza.model.Bibliotekar2;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.stereotype.Repository;
|
---|
6 |
|
---|
7 | import java.util.List;
|
---|
8 |
|
---|
9 | @Repository
|
---|
10 | public 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.