Skip to content

Commit

Permalink
[#172] feat(PerformanceDetailResponse): 공연 상세 정보 조회 response에 minDueD…
Browse files Browse the repository at this point in the history
…ate 추가
  • Loading branch information
hyerinhwang-sailin committed Aug 13, 2024
1 parent a952d27 commit ee2cb4e
Showing 1 changed file with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public record PerformanceDetailResponse(
String performanceContact,
String performanceTeamName,
List<PerformanceDetailCast> castList,
List<PerformanceDetailStaff> staffList
List<PerformanceDetailStaff> staffList,
int minDueDate
) {
public static PerformanceDetailResponse of(
Long performanceId,
Expand All @@ -34,10 +35,26 @@ public static PerformanceDetailResponse of(
String performanceContact,
String performanceTeamName,
List<PerformanceDetailCast> castList,
List<PerformanceDetailStaff> staffList
List<PerformanceDetailStaff> staffList,
int minDueDate
) {
return new PerformanceDetailResponse(performanceId, performanceTitle, performancePeriod, scheduleList, ticketPrice, genre, posterImage, runningTime, performanceVenue, performanceDescription, performanceAttentionNote, performanceContact, performanceTeamName, castList, staffList);
return new PerformanceDetailResponse(
performanceId,
performanceTitle,
performancePeriod,
scheduleList,
ticketPrice,
genre,
posterImage,
runningTime,
performanceVenue,
performanceDescription,
performanceAttentionNote,
performanceContact,
performanceTeamName,
castList,
staffList,
minDueDate
);
}


}

0 comments on commit ee2cb4e

Please sign in to comment.