Last change
on this file since 46fd0c7 was 46fd0c7, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 16 months ago |
Add admin page initial work.
|
-
Property mode
set to
100644
|
File size:
433 bytes
|
Rev | Line | |
---|
[46fd0c7] | 1 | package edu.gjoko.schedlr.repositories;
|
---|
| 2 |
|
---|
| 3 | import edu.gjoko.schedlr.entity.Business;
|
---|
| 4 | import edu.gjoko.schedlr.entity.BusinessStatus;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 6 | import org.springframework.stereotype.Repository;
|
---|
| 7 |
|
---|
| 8 | import java.util.List;
|
---|
| 9 |
|
---|
| 10 | @Repository
|
---|
| 11 | public interface BusinessRepository extends JpaRepository<Business, Long> {
|
---|
| 12 |
|
---|
| 13 | List<Business> findBusinessesByBusinessStatus(BusinessStatus status);
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.