source: src/main/java/com/example/repository/CateringRepository.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 346 bytes
RevLine 
[a51a591]1package com.example.repository;
2
3import com.example.model.Catering;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.List;
8
9@Repository
10public interface CateringRepository extends JpaRepository<Catering, Integer> {
11 List<Catering> findAllByName (String name);
12}
Note: See TracBrowser for help on using the repository browser.