Changeset f25d07e for phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
- Timestamp:
- 09/07/22 00:51:50 (2 years ago)
- Branches:
- master
- Children:
- 527b93f
- Parents:
- dbd4834
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
rdbd4834 rf25d07e 5 5 6 6 import javax.persistence.*; 7 import java.util.ArrayList; 7 8 import java.util.Date; 9 import java.util.List; 8 10 9 11 @AllArgsConstructor … … 73 75 private String offer_shop_code; 74 76 77 @ManyToMany(mappedBy = "favouriteOffers") 78 private List<User> users = new ArrayList<User>(); 79 75 80 @ManyToOne(fetch = FetchType.LAZY) 76 81 @JoinColumn(name = "phone_id", referencedColumnName = "id")
Note:
See TracChangeset
for help on using the changeset viewer.