mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
source: WIP, Libraryエンティティ実装
This commit is contained in:
parent
984b82d4a1
commit
8d86197270
|
@ -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; // パス
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user