mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-30 03:23: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.annotation.NonNull;
|
||||||
import androidx.room.ColumnInfo;
|
import androidx.room.ColumnInfo;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
|
import androidx.room.ForeignKey;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
@Entity(tableName = "library")
|
@Entity(tableName = "library")
|
||||||
public class LibraryEntity {
|
public class LibraryEntity {
|
||||||
|
|
||||||
|
@ -18,4 +21,8 @@ public class LibraryEntity {
|
||||||
|
|
||||||
@ColumnInfo(name = "path")
|
@ColumnInfo(name = "path")
|
||||||
public String path; // パス
|
public String path; // パス
|
||||||
|
|
||||||
|
// タグ
|
||||||
|
@ColumnInfo(name = "tags")
|
||||||
|
public ArrayList<TagEntity> tags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user