Skip to content

Commit

Permalink
fix: reservation id 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Feb 19, 2024
1 parent cdac255 commit 0f138f5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@NoArgsConstructor
@AllArgsConstructor
public class ReservationCompleteDto {
private Long reservationId;
private String makeupName;
private String artistNickName;
private String location; //장소
Expand All @@ -26,6 +27,7 @@ public class ReservationCompleteDto {

public static ReservationCompleteDto from(Portfolio portfolio, Reservation reservation){
return ReservationCompleteDto.builder()
.reservationId(reservation.getReservationId())
.makeupName(portfolio.getMakeupName())
.artistNickName(portfolio.getArtist().getNickname())
.location(reservation.getLocation())
Expand Down

0 comments on commit 0f138f5

Please sign in to comment.