mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
Libraryにタグを追加した
This commit is contained in:
1 file changed
+7
@@ -3,8 +3,11 @@ package one.nem.lacerta.source.database.entity;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.room.ColumnInfo;
|
||||
import androidx.room.Entity;
|
||||
import androidx.room.ForeignKey;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@Entity(tableName = "library")
|
||||
public class LibraryEntity {
|
||||
|
||||
@@ -18,4 +21,8 @@ public class LibraryEntity {
|
||||
|
||||
@ColumnInfo(name = "path")
|
||||
public String path; // パス
|
||||
|
||||
// タグ
|
||||
@ColumnInfo(name = "tags")
|
||||
public ArrayList<TagEntity> tags;
|
||||
}
|
||||
Reference in new issue
Block a user