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 | |
---|
1 | package com.example.autopartz.repository;
|
---|
2 |
|
---|
3 | import com.example.autopartz.model.Warehouse;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public 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.