Ignore:
Timestamp:
01/07/23 18:37:26 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
5e7345e
Parents:
37966cf
Message:

Admin views for adding things to the database

File:
1 edited

Legend:

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

    r37966cf r84652fb  
    2020    @Id
    2121    @Column(name = "ID_repair_shop")
     22    @GeneratedValue(strategy = GenerationType.IDENTITY)
    2223    Integer id;
    2324    @Column(name = "rs_name")
     
    3435    List<CarManufacturer> carManufacturerList;
    3536
     37    public RepairShop(String name, String location, String number, List<CarManufacturer> carManufacturerList) {
     38        this.name = name;
     39        this.location = location;
     40        this.number = number;
     41        this.carManufacturerList = carManufacturerList;
     42    }
     43
    3644    @Override
    3745    public boolean equals(Object o) {
Note: See TracChangeset for help on using the changeset viewer.