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:
348 bytes
|
Rev | Line | |
---|
[feffc2f] | 1 | package com.example.autopartz.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.autopartz.model.Part;
|
---|
| 4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 5 | import org.springframework.stereotype.Repository;
|
---|
| 6 |
|
---|
[4d67d70] | 7 | import java.util.List;
|
---|
| 8 |
|
---|
[feffc2f] | 9 | @Repository
|
---|
[ae042f4] | 10 | public interface PartRepository extends JpaRepository<Part,Integer> {
|
---|
[4d67d70] | 11 | List<Part> findAllByName(String name);
|
---|
[feffc2f] | 12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.