From a81d880c526592d4a9532ad3430c15e40b319051 Mon Sep 17 00:00:00 2001 From: sergi-Jr Date: Sat, 17 Aug 2024 00:16:49 +0400 Subject: [PATCH] [skip ci] fix time data types --- src/main/java/sergi/example/user/User.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }