-
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: 이동봉사 모집자 봉사 완료 목록 조회 API 반환값 수정 (#163)
- Loading branch information
1 parent
2d4baef
commit 929f5e5
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
15 changes: 12 additions & 3 deletions
15
.../connectdog/domain/application/dto/response/ApplicationIntermediaryCompletedResponse.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,15 +1,24 @@ | ||
package com.pawwithu.connectdog.domain.application.dto.response; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
import com.pawwithu.connectdog.domain.dog.entity.DogSize; | ||
|
||
import java.time.LocalDate; | ||
|
||
public record ApplicationIntermediaryCompletedResponse(Long postId, String mainImage, String dogName, | ||
String departureLoc, String arrivalLoc, | ||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "Asia/Seoul") | ||
LocalDate startDate, | ||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "Asia/Seoul") | ||
LocalDate endDate, | ||
String departureLoc, String arrivalLoc, | ||
String volunteerName, Long applicationId, | ||
Long reviewId, Long dogStatusId) { | ||
String pickUpTime, | ||
String dogSize, | ||
Boolean isKennel, | ||
Long reviewId) { | ||
public ApplicationIntermediaryCompletedResponse(Long postId, String mainImage, String dogName, | ||
String departureLoc, String arrivalLoc, LocalDate startDate, LocalDate endDate, | ||
String pickUpTime, DogSize dogSize, Boolean isKennel, Long reviewId) { | ||
this(postId, mainImage, dogName, departureLoc, arrivalLoc, startDate, endDate, pickUpTime, | ||
dogSize.getKey(), isKennel, reviewId); | ||
} | ||
} |
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