main
Last change
on this file since 7fafead was 7fafead, checked in by Test <matonikolov77@…>, 2 years ago |
Resolving models
|
-
Property mode
set to
100644
|
File size:
379 bytes
|
Line | |
---|
1 | package com.wediscussmovies.project.repository;
|
---|
2 |
|
---|
3 | import com.wediscussmovies.project.model.Genre;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.stereotype.Repository;
|
---|
6 |
|
---|
7 | import java.util.List;
|
---|
8 |
|
---|
9 | @Repository
|
---|
10 | public interface GenreRepository extends JpaRepository<Genre, Integer> {
|
---|
11 | public List<Genre> findAllByGenre(String genre_type);
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.