Libraryにタグを追加した

This commit is contained in:
ろむねこ 2023-12-14 10:54:34 +09:00
parent 4dc68854d3
commit cb2ad03a80
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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;
}