- 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/RepairShop.java
r23a2bc5 reaf0f1b 1 1 package com.example.autopartz.model; 2 2 3 import jakarta.persistence.Entity; 4 import jakarta.persistence.Id; 5 import jakarta.persistence.Table; 3 import jakarta.persistence.*; 6 4 import lombok.*; 7 5 import org.hibernate.Hibernate; 8 6 7 import java.util.List; 9 8 import java.util.Objects; 10 9 … … 21 20 String rs_location; 22 21 String rs_phone_number; 22 @ManyToMany 23 @JoinTable(name = "repair_shop_is_authorized_for_car_make", joinColumns = 24 @JoinColumn(name = "id_repair_shop"), 25 inverseJoinColumns = @JoinColumn(name = "id_car_manufacturer")) 26 @ToString.Exclude 27 List<CarManufacturer> carManufacturerList; 23 28 24 29 @Override
Note:
See TracChangeset
for help on using the changeset viewer.