Skip to content

Commit

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

}

0 comments on commit 971992e

Please sign in to comment.