Last change
on this file since e9b70f6 was e9b70f6, checked in by makyjovanovsky <mjovanovski04@…>, 17 months ago |
order
|
-
Property mode
set to
100644
|
File size:
365 bytes
|
Rev | Line | |
---|
[e9b70f6] | 1 | package com.example.salonbella.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.salonbella.entity.OrderEntity;
|
---|
| 4 | import com.example.salonbella.entity.UserEntity;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 6 |
|
---|
| 7 | import java.util.List;
|
---|
| 8 |
|
---|
| 9 | public interface OrderRepository extends JpaRepository<OrderEntity, Long> {
|
---|
| 10 |
|
---|
| 11 | List<OrderEntity> findAllByUser(UserEntity user);
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.