mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2025-01-18 18:33:16 +00:00
source: WIP, 項目名追加
This commit is contained in:
parent
8d86197270
commit
e05de15865
|
@ -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; // パス
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user