- Timestamp:
- 11/23/21 14:58:44 (3 years ago)
- Branches:
- master
- Children:
- e29cc2e
- Parents:
- ceaed42
- Location:
- trip-planner/src/main/java/finki/diplomska/tripplanner/models
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/models/Location.java
rceaed42 r59329aa 2 2 3 3 import com.fasterxml.jackson.annotation.JsonBackReference; 4 import com.fasterxml.jackson.annotation.JsonManagedReference; 4 5 import lombok.AllArgsConstructor; 5 6 import lombok.Getter; … … 72 73 73 74 75 @OneToMany(mappedBy = "location", cascade = CascadeType.REMOVE, orphanRemoval = true) 76 @JsonManagedReference 77 private List<Images> imagesList; 78 79 74 80 }
Note:
See TracChangeset
for help on using the changeset viewer.