diff --git a/src/main/java/sergi/example/user/User.java b/src/main/java/sergi/example/user/User.java index 73250d0..609adde 100644 --- a/src/main/java/sergi/example/user/User.java +++ b/src/main/java/sergi/example/user/User.java @@ -20,7 +20,7 @@ import sergi.example.model.BaseEntity; import sergi.example.task.Task; -import java.time.LocalDate; +import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; @@ -55,8 +55,8 @@ public void removeTask(Task task) { } @CreatedDate - private LocalDate createdAt; + private Timestamp createdAt; @LastModifiedDate - private LocalDate updatedAt; + private Timestamp updatedAt; }