From 8d86197270663da4546502b1fc3cf5cb8ca1b638 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 02:28:32 +0900 Subject: [PATCH] =?UTF-8?q?source:=20WIP,=20Library=E3=82=A8=E3=83=B3?= =?UTF-8?q?=E3=83=86=E3=82=A3=E3=83=86=E3=82=A3=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/source/database/entity/Library.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/Library.java b/source/src/main/java/one/nem/lacerta/source/database/entity/Library.java index 091087e4..6220fca1 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/entity/Library.java +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/Library.java @@ -1,4 +1,15 @@ package one.nem.lacerta.source.database.entity; +import androidx.room.Entity; +import androidx.room.PrimaryKey; + +@Entity(tableName = "library") public class Library { + + @PrimaryKey + public String id; // ドキュメントID + + public String rootPath; // rootのパス + + public String path; // パス }