From cb2ad03a80a6b7488635cea03f17c8226cf6e540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 10:54:34 +0900 Subject: [PATCH] =?UTF-8?q?Library=E3=81=AB=E3=82=BF=E3=82=B0=E3=82=92?= =?UTF-8?q?=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 --- .../nem/lacerta/source/database/entity/LibraryEntity.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/LibraryEntity.java b/source/src/main/java/one/nem/lacerta/source/database/entity/LibraryEntity.java index 2fff1b57..54e82bf9 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/entity/LibraryEntity.java +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/LibraryEntity.java @@ -3,8 +3,11 @@ package one.nem.lacerta.source.database.entity; import androidx.annotation.NonNull; import androidx.room.ColumnInfo; import androidx.room.Entity; +import androidx.room.ForeignKey; import androidx.room.PrimaryKey; +import java.util.ArrayList; + @Entity(tableName = "library") public class LibraryEntity { @@ -18,4 +21,8 @@ public class LibraryEntity { @ColumnInfo(name = "path") public String path; // パス + + // タグ + @ColumnInfo(name = "tags") + public ArrayList tags; }