- 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/PartManufacturer.java
r89865ae r4d67d70 21 21 public class PartManufacturer { 22 22 @Id 23 Integer ID_part_manufacturer; 23 @Column(name = "id_part_manufacturer") 24 Integer id; 24 25 @Column(name = "pm_name") 25 26 String name; … … 31 32 if (o == null || Hibernate.getClass(this) != Hibernate.getClass(o)) return false; 32 33 PartManufacturer that = (PartManufacturer) o; 33 return ID_part_manufacturer != null && Objects.equals(ID_part_manufacturer, that.ID_part_manufacturer);34 return id != null && Objects.equals(id, that.id); 34 35 } 35 36
Note:
See TracChangeset
for help on using the changeset viewer.