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; // タグの色 }