- 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/Warehouse.java
r89865ae r4d67d70 19 19 public class Warehouse { 20 20 @Id 21 Integer ID_warehouse; 21 @Column(name = "id_warehouse") 22 Integer id; 22 23 @Column(name = "warehouse_location") 23 24 String location; … … 28 29 if (o == null || Hibernate.getClass(this) != Hibernate.getClass(o)) return false; 29 30 Warehouse warehouse = (Warehouse) o; 30 return ID_warehouse != null && Objects.equals(ID_warehouse, warehouse.ID_warehouse);31 return id != null && Objects.equals(id, warehouse.id); 31 32 } 32 33
Note:
See TracChangeset
for help on using the changeset viewer.