From 984b82d4a1714841f37d2abc7ee89f364b406bbd Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 02:26:43 +0900 Subject: [PATCH] =?UTF-8?q?source:=20WIP,=20=E5=88=97=E5=90=8D=E3=81=AE?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/source/database/entity/Document.java | 7 +++++++ 1 file changed, 7 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 7e6b0017..f007f434 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 @@ -1,20 +1,27 @@ package one.nem.lacerta.source.database.entity; +import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; @Entity(tableName = "document") public class Document { @PrimaryKey + @ColumnInfo(name = "id") 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 = "default_branch") public String defaultBranch; // デフォルトブランチ }