Skip to content

Commit

Permalink
[#172] feat(PerformanceDetailResponse): 공연 상세 정보 조회 response에 schedul…
Browse files Browse the repository at this point in the history
…e별 dueDate 추가
  • Loading branch information
hyerinhwang-sailin committed Aug 13, 2024
1 parent ee2cb4e commit 1f4fe87
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
public record PerformanceDetailSchedule(
Long scheduleId,
LocalDateTime performanceDate,
String scheduleNumber
String scheduleNumber,
int dueDate
) {
public static PerformanceDetailSchedule of(Long scheduleId, LocalDateTime performanceDate, String scheduleNumber) {
return new PerformanceDetailSchedule(scheduleId, performanceDate, scheduleNumber);
public static PerformanceDetailSchedule of(Long scheduleId, LocalDateTime performanceDate, String scheduleNumber, int dueDate) {
return new PerformanceDetailSchedule(scheduleId, performanceDate, scheduleNumber, dueDate);
}
}

0 comments on commit 1f4fe87

Please sign in to comment.