source: src/main/java/com/example/autopartz/repository/WarehouseRepository.java

main
Last change on this file was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Final touches

  • Property mode set to 100644
File size: 359 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.Warehouse;
4import org.springframework.data.jpa.repository.JpaRepository;
5
6import java.util.List;
7
8public interface WarehouseRepository extends JpaRepository<Warehouse,Integer> {
9 List<Warehouse> findAllByLocation(String location);
10 List<Warehouse> findAllById(Integer id);
11}
Note: See TracBrowser for help on using the repository browser.