Changeset eaf0f1b for src/main/java/com/example/autopartz/model/Order.java
- Timestamp:
- 01/03/23 03:19:50 (23 months ago)
- Branches:
- main
- Children:
- feffc2f
- Parents:
- 23a2bc5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Order.java
r23a2bc5 reaf0f1b 6 6 7 7 import java.time.LocalDateTime; 8 import java.util.List; 8 9 import java.util.Objects; 9 10 … … 22 23 @ManyToOne 23 24 Client user; 25 @ManyToMany 26 @JoinTable(name = "order_contains_part", joinColumns = 27 @JoinColumn(name = "id_order"), 28 inverseJoinColumns = @JoinColumn(name = "id_part")) 29 @ToString.Exclude 30 List<Part> partList; 24 31 25 32 @Override
Note:
See TracChangeset
for help on using the changeset viewer.