Skip to content

Commit

Permalink
Merge pull request #102 from 4bujak-4bujak/develop
Browse files Browse the repository at this point in the history
hotfix: #71 일정 상세 spaceId 추가
  • Loading branch information
zoomin3022 authored Jun 7, 2024
2 parents 68880da + 2458531 commit 8adee44
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public static class ReservationDetails {
private String startAt;
private String endAt;
private String branchName;
private Long spaceId;
private String spaceName;
private int spaceFloor;
private String branchAddress;
Expand All @@ -83,6 +84,7 @@ public static ReservationDetails of(Reservation reservation, Space space, Member
reservationDetails.endAt = reservation.getReservationEndDateTime().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"));
reservationDetails.branchName = space.getBranch().getBranchName();

reservationDetails.spaceId = space.getSpaceId();
reservationDetails.spaceName = space.getSpaceName();
if (space instanceof FocusDesk) {
reservationDetails.spaceName += " " + ((FocusDesk) space).getFocusDeskNumber();
Expand Down

0 comments on commit 8adee44

Please sign in to comment.