Changeset 84652fb for src/main/java/com/example/autopartz/model/Car.java
- Timestamp:
- 01/07/23 18:37:26 (23 months ago)
- Branches:
- main
- Children:
- 5e7345e
- Parents:
- 37966cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Car.java
r37966cf r84652fb 18 18 public class Car { 19 19 @Id 20 @GeneratedValue(strategy = GenerationType.IDENTITY) 20 21 @Column(name = "ID_car") 21 22 Integer id; … … 27 28 @JoinColumn(name = "id_car_manufacturer") 28 29 CarManufacturer car_manufacturer; 30 31 public Car(Integer in_production_since, Integer in_production_till, String cartype, CarManufacturer car_manufacturer) { 32 this.in_production_since = in_production_since; 33 this.in_production_till = in_production_till; 34 this.cartype = cartype; 35 this.car_manufacturer = car_manufacturer; 36 } 29 37 30 38 @Override
Note:
See TracChangeset
for help on using the changeset viewer.