mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-30 03:23:16 +00:00
source: WIP, 項目名追加
This commit is contained in:
parent
4eb5b3ad08
commit
ec3618deb3
|
@ -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; // タグの色
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user