From 4296ed62095809800739441e7f3003e9637ab95c Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 03:40:58 +0900 Subject: [PATCH] =?UTF-8?q?WIP=20DateTypeConverter=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/database/entity/Document.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/Document.java b/source/src/main/java/one/nem/lacerta/source/database/entity/Document.java index 5d74e09d..528070ab 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/entity/Document.java +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/Document.java @@ -4,10 +4,14 @@ import androidx.annotation.NonNull; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; +import androidx.room.TypeConverters; + +import one.nem.lacerta.source.database.common.DateTypeConverter; import java.util.Date; @Entity(tableName = "document") +@TypeConverters(DateTypeConverter.class) public class Document { @PrimaryKey @ColumnInfo(name = "id")