source: src/main/java/com/example/eatys_app/repository/KupuvacRepository.java

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: 348 bytes
Line 
1package com.example.eatys_app.repository;
2
3import com.example.eatys_app.model.Korisnik;
4import com.example.eatys_app.model.Kupuvac;
5import org.springframework.data.jpa.repository.JpaRepository;
6
7import java.util.Optional;
8
9public interface KupuvacRepository extends JpaRepository<Kupuvac,Integer> {
10
11 Optional<Kupuvac> findByIme(String ime);
12
13}
Note: See TracBrowser for help on using the repository browser.