-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
12 changed files
with
76 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
8 changes: 8 additions & 0 deletions
8
server/src/main/java/com/main36/picha/domain/attraction/dto/AttractionSaveResponseDto.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,8 @@ | ||
package com.main36.picha.domain.attraction.dto; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class AttractionSaveResponseDto { | ||
private Boolean isSaved; | ||
} |
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
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
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
4 changes: 0 additions & 4 deletions
4
server/src/main/java/com/main36/picha/domain/member/dto/OauthMemberDto.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
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
4 changes: 0 additions & 4 deletions
4
server/src/main/java/com/main36/picha/domain/save/controller/SaveController.java
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
server/src/main/java/com/main36/picha/domain/save/repository/SaveRepository.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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
package com.main36.picha.domain.save.repository; | ||
|
||
import com.main36.picha.domain.attraction.entity.Attraction; | ||
import com.main36.picha.domain.attraction_likes.entity.AttractionLikes; | ||
import com.main36.picha.domain.member.entity.Member; | ||
import com.main36.picha.domain.save.entity.Save; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.Optional; | ||
|
||
public interface SaveRepository extends JpaRepository<Save, Long> { | ||
Optional<Save> findByMemberAndAttraction(Member member, Attraction attraction); | ||
} |
10 changes: 0 additions & 10 deletions
10
server/src/main/java/com/main36/picha/domain/save/service/SaveService.java
This file was deleted.
Oops, something went wrong.