mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
source: WIP, 項目名追加
This commit is contained in:
1 file changed
+4
@@ -1,5 +1,6 @@
|
||||
package one.nem.lacerta.source.database.entity;
|
||||
|
||||
import androidx.room.ColumnInfo;
|
||||
import androidx.room.Entity;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
@@ -7,9 +8,12 @@ import androidx.room.PrimaryKey;
|
||||
public class Library {
|
||||
|
||||
@PrimaryKey
|
||||
@ColumnInfo(name = "id")
|
||||
public String id; // ドキュメントID
|
||||
|
||||
@ColumnInfo(name = "root_path")
|
||||
public String rootPath; // rootのパス
|
||||
|
||||
@ColumnInfo(name = "path")
|
||||
public String path; // パス
|
||||
}
|
||||
Reference in new issue
Block a user