We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcc67a commit 0f278f0Copy full SHA for 0f278f0
src/main/java/timeeat/domain/store/Coordinates.java
@@ -1,5 +1,6 @@
1
package timeeat.domain.store;
2
3
+import jakarta.persistence.Column;
4
import jakarta.persistence.Embeddable;
5
import lombok.AccessLevel;
6
import lombok.EqualsAndHashCode;
@@ -18,8 +19,10 @@ public class Coordinates {
18
19
private static final double MAX_LATITUDE = 37.715133;
20
private static final double MIN_LONGITUDE = 126.734086;
21
private static final double MAX_LONGITUDE = 127.269311;
-
22
+ @Column(nullable = false)
23
private Double latitude;
24
+
25
26
private Double longitude;
27
28
public Coordinates(Double latitude, Double longitude) {
0 commit comments