- Timestamp:
- 01/07/23 18:37:26 (23 months ago)
- Branches:
- main
- Children:
- 5e7345e
- Parents:
- 37966cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/PartManufacturer.java
r37966cf r84652fb 7 7 import org.hibernate.Hibernate; 8 8 9 import javax.persistence.Column; 10 import javax.persistence.Entity; 11 import javax.persistence.Id; 12 import javax.persistence.Table; 9 import javax.persistence.*; 13 10 import java.util.Objects; 14 11 … … 21 18 public class PartManufacturer { 22 19 @Id 20 @GeneratedValue(strategy = GenerationType.IDENTITY) 23 21 @Column(name = "id_part_manufacturer") 24 22 Integer id; … … 26 24 String name; 27 25 String pm_location; 26 27 public PartManufacturer(String name, String location) { 28 this.name = name; 29 this.pm_location = location; 30 } 28 31 29 32 @Override
Note:
See TracChangeset
for help on using the changeset viewer.