- Timestamp:
- 02/06/22 18:15:51 (3 years ago)
- Branches:
- master
- Children:
- 571e0df
- Parents:
- 76712b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/models/User.java
r76712b2 r6fe77af 2 2 3 3 import com.fasterxml.jackson.annotation.JsonIgnore; 4 import com.fasterxml.jackson.annotation.JsonManagedReference; 4 5 import lombok.AllArgsConstructor; 5 6 import lombok.Getter; … … 44 45 @JsonIgnore 45 46 private List<Planner> planners = new ArrayList<>(); 47 48 @OneToMany(cascade = CascadeType.REFRESH, mappedBy = "user", orphanRemoval = true) 49 @JsonIgnore 50 private List<Location> locationList = new ArrayList<>();; 46 51 47 52 public User() {
Note:
See TracChangeset
for help on using the changeset viewer.