source: WIP, 項目名追加

This commit is contained in:
r-ca 2023-12-14 02:30:48 +09:00
parent 4eb5b3ad08
commit ec3618deb3
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,5 +1,6 @@
package one.nem.lacerta.source.database.entity; package one.nem.lacerta.source.database.entity;
import androidx.room.ColumnInfo;
import androidx.room.Entity; import androidx.room.Entity;
import androidx.room.PrimaryKey; import androidx.room.PrimaryKey;
@ -7,9 +8,12 @@ import androidx.room.PrimaryKey;
public class Tag { public class Tag {
@PrimaryKey @PrimaryKey
@ColumnInfo(name = "id")
public String id; // タグID public String id; // タグID
@ColumnInfo(name = "tag_name")
public String tagName; // タグ名 public String tagName; // タグ名
@ColumnInfo(name = "color")
public String color; // タグの色 public String color; // タグの色
} }