Changeset 7d43957 for src/main/java/com/example/autopartz/model/Order.java
- Timestamp:
- 01/05/23 01:31:58 (23 months ago)
- Branches:
- main
- Children:
- 676144b
- Parents:
- ab952ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Order.java
rab952ab r7d43957 20 20 public class Order { 21 21 @Id 22 @GeneratedValue(strategy = GenerationType.IDENTITY) 22 23 Integer ID_order; 23 24 String order_status; … … 32 33 @ToString.Exclude 33 34 List<Part> partList; 35 36 public Order(Client user) { 37 this.order_status = "created"; 38 this.user = user; 39 this.order_date = LocalDateTime.now(); 40 } 34 41 35 42 @Override
Note:
See TracChangeset
for help on using the changeset viewer.