Ignore:
Timestamp:
01/07/23 01:51:16 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
ed7ef92
Parents:
89865ae
Message:

Final touches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/model/PartManufacturer.java

    r89865ae r4d67d70  
    2121public class PartManufacturer {
    2222    @Id
    23     Integer ID_part_manufacturer;
     23    @Column(name = "id_part_manufacturer")
     24    Integer id;
    2425    @Column(name = "pm_name")
    2526    String name;
     
    3132        if (o == null || Hibernate.getClass(this) != Hibernate.getClass(o)) return false;
    3233        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);
    3435    }
    3536
Note: See TracChangeset for help on using the changeset viewer.