From ec3618deb316fb8ed75b451c6c271259995548b9 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 02:30:48 +0900 Subject: [PATCH] =?UTF-8?q?source:=20WIP,=20=E9=A0=85=E7=9B=AE=E5=90=8D?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/one/nem/lacerta/source/database/entity/Tag.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/Tag.java b/source/src/main/java/one/nem/lacerta/source/database/entity/Tag.java index 0b04141f..99634311 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/entity/Tag.java +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/Tag.java @@ -1,5 +1,6 @@ package one.nem.lacerta.source.database.entity; +import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; @@ -7,9 +8,12 @@ import androidx.room.PrimaryKey; public class Tag { @PrimaryKey + @ColumnInfo(name = "id") public String id; // タグID + @ColumnInfo(name = "tag_name") public String tagName; // タグ名 + @ColumnInfo(name = "color") public String color; // タグの色 }