source:
src/main/java/com/example/salonbella/repository/OrderRepository.java
Last change on this file was e9b70f6, checked in by , 17 months ago | |
---|---|
|
|
File size: 365 bytes |
Line | |
---|---|
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.