Skip to content

Commit

Permalink
Merge pull request #22 from 9oormthon-univ/refactor/#21
Browse files Browse the repository at this point in the history
[REFACTOR] 즐겨찾기 조회 시 위도, 경도 추가
  • Loading branch information
haeun1107 authored Nov 19, 2024
2 parents 4302128 + 98c457c commit eb1962f
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 eb1962f

Please sign in to comment.