diff --git a/src/main/java/com/hanaro/hanafun/reservation/dto/response/ReservationPerson.java b/src/main/java/com/hanaro/hanafun/reservation/dto/response/ReservationPerson.java index badcdfb..de53ac5 100644 --- a/src/main/java/com/hanaro/hanafun/reservation/dto/response/ReservationPerson.java +++ b/src/main/java/com/hanaro/hanafun/reservation/dto/response/ReservationPerson.java @@ -15,4 +15,5 @@ public class ReservationPerson { private LocalDateTime startTime; private String userName; private String email; + private int applicant; } diff --git a/src/main/java/com/hanaro/hanafun/reservation/service/impl/ReservationServiceImpl.java b/src/main/java/com/hanaro/hanafun/reservation/service/impl/ReservationServiceImpl.java index b644d6e..2df6a60 100644 --- a/src/main/java/com/hanaro/hanafun/reservation/service/impl/ReservationServiceImpl.java +++ b/src/main/java/com/hanaro/hanafun/reservation/service/impl/ReservationServiceImpl.java @@ -149,6 +149,7 @@ public LessonDateDetailResDto lessonDateDetail(LessonDateDetailReqDto lessonDate .startTime(lessonDate.getStartTime()) .userName(reservation.getUserEntity().getUsername()) .email(reservation.getUserEntity().getEmail()) + .applicant(reservation.getApplicant()) .build(); return person; })