diff --git a/src/main/java/com/grabpt/dto/response/MyRequestListDTO.java b/src/main/java/com/grabpt/dto/response/MyRequestListDTO.java index 664564d..0c6ba29 100644 --- a/src/main/java/com/grabpt/dto/response/MyRequestListDTO.java +++ b/src/main/java/com/grabpt/dto/response/MyRequestListDTO.java @@ -8,10 +8,12 @@ import lombok.Builder; import lombok.Getter; +import lombok.Setter; @Getter +@Setter public class MyRequestListDTO { - private Long requestId; + private Long requestionId; private String profileImageURL; private Long userId; private List availableDays; @@ -27,10 +29,6 @@ public class MyRequestListDTO { private Long proId; private boolean isWriteReview; - public void setProNickname(String proNickname) { - this.proNickname = proNickname; - } - public void setProProfileId(Long proId) { this.proId = proId; } @@ -58,7 +56,7 @@ public static AddressDTO from(Address address) { } public MyRequestListDTO(Requestions requestion) { - this.requestId = requestion.getId(); + this.requestionId = requestion.getId(); this.profileImageURL = requestion.getUser().getProfileImageUrl(); this.userId = requestion.getUser().getId(); Address addresses = requestion.getUser().getAddress();