From 7124d089a78965440447e48ccabbafc0597fc159 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 02:30:12 +0900 Subject: [PATCH] =?UTF-8?q?source:=20WIP,=20Tag=E3=82=A8=E3=83=B3=E3=83=86?= =?UTF-8?q?=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 --- .../one/nem/lacerta/source/database/entity/Tag.java | 11 +++++++++++ 1 file changed, 11 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 14e293b5..85f4a20f 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,4 +1,15 @@ package one.nem.lacerta.source.database.entity; +import androidx.room.Entity; +import androidx.room.PrimaryKey; + +@Entity(tableName = "tag") public class Tag { + + @PrimaryKey + public String id; // タグID + + public String name; // タグ名 + + public String color; // タグの色 }