Changeset 7d43957 for src/main/java/com/example/autopartz/model/Repair.java
- Timestamp:
- 01/05/23 01:31:58 (23 months ago)
- Branches:
- main
- Children:
- 676144b
- Parents:
- ab952ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Repair.java
rab952ab r7d43957 7 7 import org.hibernate.Hibernate; 8 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.JoinColumn; 12 import javax.persistence.ManyToOne; 9 import javax.persistence.*; 13 10 import java.util.Objects; 14 11 … … 21 18 @Id 22 19 Integer ID_repair; 23 @ ManyToOne24 @JoinColumn(name = " vin")25 CarSample carSample;20 @OneToOne 21 @JoinColumn(name = "id_order") 22 Order order; 26 23 @ManyToOne 27 24 @JoinColumn(name = "id_repair_shop")
Note:
See TracChangeset
for help on using the changeset viewer.