Skip to content

Commit

Permalink
✨ Feat: 브리핑 단 건 조회 v2 응답 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
swa07016 committed Dec 3, 2023
1 parent e987092 commit 6b892d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/briefing/briefing/api/BriefingConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public static BriefingResponseDTO.BriefingDetailDTO toBriefingDetailDTO(
.isWarning(isWarning)
.scrapCount(briefing.getScrapCount())
.gptModel(briefing.getGptModel())
.timeOfDay(briefing.getTimeOfDay())
.type(briefing.getType())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package briefing.briefing.application.dto;

import briefing.briefing.domain.BriefingType;
import briefing.briefing.domain.TimeOfDay;
import briefing.chatting.domain.GptModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down Expand Up @@ -55,6 +57,10 @@ public static class BriefingDetailDTO{
Integer scrapCount = 0;
@Builder.Default
GptModel gptModel = GptModel.GPT_3_5_TURBO;
@Builder.Default
TimeOfDay timeOfDay = TimeOfDay.MORNING;
@Builder.Default
BriefingType type = BriefingType.KOREA;
}

@Builder
Expand Down

0 comments on commit 6b892d9

Please sign in to comment.