From 7c3588275cb8edb1ddb44e0bd18936171e9a4ca8 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 02:25:26 +0900 Subject: [PATCH] =?UTF-8?q?source:=20WIP,=20Document=E3=82=A8=E3=83=B3?= =?UTF-8?q?=E3=83=86=E3=82=A3=E3=83=86=E3=82=A3=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/source/database/entity/Document.java | 16 ++++++++++++++++ 1 file changed, 16 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 f11114b2..7e6b0017 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,4 +1,20 @@ package one.nem.lacerta.source.database.entity; +import androidx.room.Entity; +import androidx.room.PrimaryKey; + +@Entity(tableName = "document") public class Document { + @PrimaryKey + public String id; // ドキュメントID + + public String title; // タイトル + + public String createdAt; // 作成日時 + + public String updatedAt; // 更新日時 + + public String author; // 作成者 + + public String defaultBranch; // デフォルトブランチ }