source:
src/main/java/com/example/salonbella/repository/ProductRepository.java
Last change on this file was e9b70f6, checked in by , 17 months ago | |
---|---|
|
|
File size: 314 bytes |
Line | |
---|---|
1 | package com.example.salonbella.repository; |
2 | |
3 | import com.example.salonbella.entity.ProductEntity; |
4 | import org.springframework.data.jpa.repository.JpaRepository; |
5 | |
6 | import java.util.Optional; |
7 | |
8 | public interface ProductRepository extends JpaRepository<ProductEntity,Long> { |
9 | Optional<ProductEntity> findById(Long id); |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.