Changeset 60de3eb for src/main/java/com/example/autopartz/model
- Timestamp:
- 01/03/23 23:03:00 (23 months ago)
- Branches:
- main
- Children:
- 6832924
- Parents:
- feffc2f
- Location:
- src/main/java/com/example/autopartz/model
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Car.java
rfeffc2f r60de3eb 18 18 Integer in_production_since; 19 19 Integer in_production_till; 20 String car_type; 20 @Column(name = "car_type") 21 String cartype; 21 22 @ManyToOne 22 23 @JoinColumn(name = "id_car_manufacturer") -
src/main/java/com/example/autopartz/model/Category.java
rfeffc2f r60de3eb 1 1 package com.example.autopartz.model; 2 2 3 import jakarta.persistence.Entity; 4 import jakarta.persistence.Id; 5 import jakarta.persistence.JoinColumn; 6 import jakarta.persistence.ManyToOne; 3 import jakarta.persistence.*; 7 4 import lombok.*; 8 5 import org.hibernate.Hibernate; … … 18 15 @Id 19 16 Long ID_category; 20 String category_name; 17 @Column(name = "category_name") 18 String cname; 21 19 @ManyToOne 22 20 @JoinColumn(name = "id_parent_category") -
src/main/java/com/example/autopartz/model/views/PartsForCarTypeAndCategory.java
rfeffc2f r60de3eb 25 25 String cartype; 26 26 String category; 27 String pmname; 27 28 }
Note:
See TracChangeset
for help on using the changeset viewer.