From d7f73d9207c2823032cc9fec14adfd9bbc70fbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 11 Dec 2023 16:07:35 +0900 Subject: [PATCH] =?UTF-8?q?WIP=20Entity=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/source/db/entity/Documents.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/source/db/entity/Documents.java b/data/src/main/java/one/nem/lacerta/source/db/entity/Documents.java index f47fbf94..9367d5f1 100644 --- a/data/src/main/java/one/nem/lacerta/source/db/entity/Documents.java +++ b/data/src/main/java/one/nem/lacerta/source/db/entity/Documents.java @@ -1,4 +1,28 @@ package one.nem.lacerta.source.db.entity; +import androidx.room.Entity; +import androidx.room.PrimaryKey; + +import java.util.Date; + +import one.nem.lacerta.data.model.documents.enums.DocumentType; + +@Entity public class Documents { + @PrimaryKey + private String id; + + private String name; // Titleに変更する? + + private DocumentType type; // DocumentTypeに変更する? + + private Date created; + + private String[] tags; + + private String[] categories; + + private String repositoryId; + + // WIP }