Last change
on this file since 4d7e387 was 4d7e387, checked in by makyjovanovsky <mjovanovski04@…>, 18 months ago |
commit 1
|
-
Property mode
set to
100644
|
File size:
315 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.