diff --git a/src/main/java/com/example/cosmos_serversb/entities/Shop.java b/src/main/java/com/example/cosmos_serversb/entities/Shop.java index 4b4fda6..11b6c42 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Shop.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Shop.java @@ -1,6 +1,6 @@ package com.example.cosmos_serversb.entities; -import com.example.cosmos_serversb.views.UsersView; +import com.example.cosmos_serversb.views.ShopsView; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; @@ -22,11 +22,12 @@ */ @JsonInclude(JsonInclude.Include.NON_NULL) public String longitude; + @JsonView(ShopsView.getShopsView.class) public String latitude; + @JsonView(ShopsView.getShopsView.class) public String longitudeRange; public String latitudeRange; public String shop; - @JsonView(UsersView.getUsersView.class) public Set shops = new HashSet<>();