Changeset 4d67d70 for src/main/java/com/example/autopartz/model/Part.java
- Timestamp:
- 01/07/23 01:51:16 (23 months ago)
- Branches:
- main
- Children:
- ed7ef92
- Parents:
- 89865ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Part.java
r89865ae r4d67d70 18 18 public class Part { 19 19 @Id 20 @GeneratedValue(strategy = GenerationType.IDENTITY) 20 21 @Column(name = "ID_part") 21 22 Integer id; … … 46 47 List<Car> carList; 47 48 49 public Part(String name, String description, PartManufacturer manufacturer, List<Category> categoryList, List<Warehouse> warehouseList, List<Car> carList) { 50 this.name = name; 51 this.description = description; 52 this.manufacturer = manufacturer; 53 this.categoryList = categoryList; 54 this.warehouseList = warehouseList; 55 this.carList = carList; 56 } 57 48 58 @Override 49 59 public boolean equals(Object o) {
Note:
See TracChangeset
for help on using the changeset viewer.