Skip to content

Commit

Permalink
fix: X,Y PinDto 교체
Browse files Browse the repository at this point in the history
  • Loading branch information
dltjdgh0428 committed Mar 28, 2024
1 parent 2c1945b commit 7a7466c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/book_everywhere/pin/dto/PinDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
public class PinDto {
private Long id;
private double placeId;
private double latitude;
private double longitude;
private double y;
private double x;
//개인설정이름
private String title;
private String address;
Expand All @@ -25,9 +25,9 @@ public class PinDto {
public Pin toEntity() {
return Pin.builder()
.title(title)
.latitude(latitude)
.latitude(y)
.address(address)
.longitude(longitude)
.longitude(x)
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
public class PinWithTagCountRespDto {
private Long id;
private double placeId;
private double latitude;
private double longitude;
private double y;
private double x;
//개인설정이름
private String title;
private String address;
Expand Down

0 comments on commit 7a7466c

Please sign in to comment.