Skip to content

Commit

Permalink
refactor: #62 Coordinate 위도,경도 변수명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tinon1004 committed Mar 11, 2024
1 parent 33ba1eb commit 4387db8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/ajou/hertz/common/entity/Coordinate.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
public class Coordinate {

@Column(nullable = false)
private String latitude;
private String lat;

@Column(nullable = false)
private String longitude;
private String lng;

public static Coordinate of(String latitude, String longitude) {
return new Coordinate(latitude, longitude);
public static Coordinate of(String lat, String lng) {
return new Coordinate(lat, lng);
}

}

0 comments on commit 4387db8

Please sign in to comment.