-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] 게시글 작성을 위한 열거형 정보를 제공하는 엔드포인트 구현 (#189)
* refactor: LocalTime 반환형식에서 초(second) 제거 * feat: 게시글 작성에 필요한 열거형을 갖는 DTO 정의 * feat: 게시글 작성에 필요한 열거형을 반환하는 엔드포인트 구현
- Loading branch information
1 parent
dc5c416
commit 802175c
Showing
4 changed files
with
39 additions
and
2 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
16 changes: 16 additions & 0 deletions
16
src/main/java/econo/buddybridge/post/dto/PostEnumResDto.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,16 @@ | ||
package econo.buddybridge.post.dto; | ||
|
||
import econo.buddybridge.member.entity.DisabilityType; | ||
import econo.buddybridge.post.entity.AssistanceType; | ||
import econo.buddybridge.post.entity.District; | ||
import java.util.List; | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record PostEnumResDto( | ||
List<AssistanceType> assistanceTypes, | ||
List<DisabilityType> disabilityTypes, | ||
List<District> districts | ||
) { | ||
|
||
} |
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