From 74563f75b1eae33bf95645430cecbf4dce2c8868 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 27 Jan 2024 17:03:25 +0900 Subject: [PATCH] =?UTF-8?q?CombineDocumentEntity=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/CombineDocumentEntity.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 source/src/main/java/one/nem/lacerta/source/database/entity/CombineDocumentEntity.java diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/CombineDocumentEntity.java b/source/src/main/java/one/nem/lacerta/source/database/entity/CombineDocumentEntity.java new file mode 100644 index 00000000..e1b0234d --- /dev/null +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/CombineDocumentEntity.java @@ -0,0 +1,30 @@ +package one.nem.lacerta.source.database.entity; + +import androidx.annotation.NonNull; +import androidx.room.ColumnInfo; +import androidx.room.Entity; +import androidx.room.PrimaryKey; + +@Entity(tableName = "combine_document") +public class CombineDocumentEntity { + + @PrimaryKey + @ColumnInfo(name = "id") + @NonNull + public String id; // ドキュメントID + + @ColumnInfo(name = "title") + public String title; // タイトル + + @ColumnInfo(name = "created_at") + public String createdAt; // 作成日時 + + @ColumnInfo(name = "updated_at") + public String updatedAt; // 更新日時 + + @ColumnInfo(name = "author") + public String author; // 作成者 + + @ColumnInfo(name = "parent_id") + public String parentId; // 親フォルダID +}