mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-30 03:23:16 +00:00
source: WIP, Tagエンティティ実装
This commit is contained in:
parent
e108cd7834
commit
7124d089a7
|
@ -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; // タグの色
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user