Skip to content

Commit

Permalink
feat: 테이스팅 노트 응답 varietal 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
swa07016 committed Mar 10, 2024
1 parent a2f88ab commit 9a156a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ private TastingNoteResponse.TastingNoteListDTO toTastingNoteListDTO(TastingNote
.noteId(result.getId())
.wineName(result.getWine().getName())
.country(result.getWine().getCountry())
.varietal(result.getWine().getVarietal())
.starRating(result.getStarRating())
.buyAgain(result.getBuyAgain())
.wineType(result.getWine().getType())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public static class TastingNoteListDTO {
private String wineName;
@Schema(description = "와인 생산지")
private Country country;
@Schema(description = "품종")
private String varietal;
@Schema(description = "평점")
private Integer starRating;
@Schema(description = "재구매 유무")
Expand Down

0 comments on commit 9a156a0

Please sign in to comment.