-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: board, profile을 함께 가져오는 db계층의 로직을 service로 옮긴다.
- Loading branch information
Showing
4 changed files
with
104 additions
and
61 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/main/java/com/dnd/accompany/domain/accompany/api/dto/FindDetailInfoResult.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,24 @@ | ||
package com.dnd.accompany.domain.accompany.api.dto; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
import com.dnd.accompany.domain.accompany.entity.enums.Category; | ||
import com.dnd.accompany.domain.accompany.entity.enums.PreferredAge; | ||
import com.dnd.accompany.domain.accompany.entity.enums.PreferredGender; | ||
import com.dnd.accompany.domain.accompany.entity.enums.Region; | ||
|
||
public record FindDetailInfoResult( | ||
Long boardId, | ||
String title, | ||
String content, | ||
Region region, | ||
LocalDateTime startDate, | ||
LocalDateTime endDate, | ||
Long headCount, | ||
Long capacity, | ||
Category category, | ||
PreferredAge preferredAge, | ||
PreferredGender preferredGender, | ||
String nickname | ||
) { | ||
} |
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