Implement TODO tasks

This commit is contained in:
2026-06-27 22:27:31 +03:30
parent 00f990c653
commit 0ad08196d4
19 changed files with 611 additions and 29 deletions
+15
View File
@@ -1,5 +1,6 @@
package dev.model;
import java.sql.Timestamp;
import java.time.LocalDateTime;
public class Order {
@@ -12,4 +13,18 @@ public class Order {
private double totalPrice;
public Order(int id, int userId, Timestamp createdAt, double totalPrice) {
this.id=id;
this.userId=userId;
this.createdAt= createdAt.toLocalDateTime();
this.totalPrice=totalPrice;
}
public int getUserId() {
return id;
}
public double getTotalPrice() {
return totalPrice;
}
}