forked from kookmin-sw/cap-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d099e9
commit 9a52527
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
back/src/main/java/com/example/capstone/domain/help/repository/HelpRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.example.capstone.domain.help.repository; | ||
|
||
import com.example.capstone.domain.help.entity.Help; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.Optional; | ||
|
||
public interface HelpRepository extends JpaRepository<Help, Long>, HelpListRepository { | ||
|
||
Help save(Help help); | ||
|
||
Optional<Help> findById(Long id); | ||
|
||
void deleteById(Long id); | ||
} |