mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Libraryにタグを追加した
This commit is contained in:
parent
4dc68854d3
commit
cb2ad03a80
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user