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:
447 bytes
|
Line | |
---|
1 | package com.example.eatys_app.repository;
|
---|
2 |
|
---|
3 | import com.example.eatys_app.model.*;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 |
|
---|
6 | import java.util.Optional;
|
---|
7 |
|
---|
8 | public interface SeSostoiOdRepository extends JpaRepository<SeSostoiOd, SeSostoiOdId>{
|
---|
9 |
|
---|
10 | Optional<SeSostoiOd> findByNaracka(Naracka naracka);
|
---|
11 |
|
---|
12 | Optional<SeSostoiOd> findByNarackaAndObrok(Naracka naracka, Obrok obrok);
|
---|
13 |
|
---|
14 | void deleteAllByNaracka(Naracka naracka);
|
---|
15 |
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.