mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
source: WIP, Libraryエンティティ実装
This commit is contained in:
1 file changed
+11
@@ -1,4 +1,15 @@
|
|||||||
package one.nem.lacerta.source.database.entity;
|
package one.nem.lacerta.source.database.entity;
|
||||||
|
|
||||||
|
import androidx.room.Entity;
|
||||||
|
import androidx.room.PrimaryKey;
|
||||||
|
|
||||||
|
@Entity(tableName = "library")
|
||||||
public class Library {
|
public class Library {
|
||||||
|
|
||||||
|
@PrimaryKey
|
||||||
|
public String id; // ドキュメントID
|
||||||
|
|
||||||
|
public String rootPath; // rootのパス
|
||||||
|
|
||||||
|
public String path; // パス
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user