main
Last change
on this file since 4d67d70 was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 18 months ago |
Final touches
|
-
Property mode
set to
100644
|
File size:
359 bytes
|
Rev | Line | |
---|
[7d43957] | 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);
|
---|
[4d67d70] | 10 | List<Warehouse> findAllById(Integer id);
|
---|
[7d43957] | 11 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.