Skip to content

Commit

Permalink
Refactor: 즐겨찾기 조회 시 위도, 경도 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
haeun1107 committed Nov 19, 2024
1 parent 4302128 commit 98c457c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public static GetLikeResponse toGetLikeResponse(Enterprise enterprise) {
.city(enterprise.getCity())
.district(enterprise.getDistrict())
.website(enterprise.getWebsite())
.latitude(enterprise.getLatitude())
.longitude(enterprise.getLongitude())
.build();
}
}
4 changes: 2 additions & 2 deletions src/main/java/danpoong/soenter/domain/likes/dto/LikesDTO.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package danpoong.soenter.domain.likes.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

public class LikesDTO {

Expand All @@ -16,6 +14,8 @@ public static class GetLikeResponse {
private String city;
private String district;
private String website;
private Double latitude;
private Double longitude;
}
}
}

0 comments on commit 98c457c

Please sign in to comment.