mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
NonNullアノテーション追加
This commit is contained in:
parent
4296ed6209
commit
49cc132f14
|
@ -1,5 +1,6 @@
|
||||||
package one.nem.lacerta.source.database.entity;
|
package one.nem.lacerta.source.database.entity;
|
||||||
|
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
import androidx.room.ColumnInfo;
|
import androidx.room.ColumnInfo;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
|
@ -9,6 +10,7 @@ public class Library {
|
||||||
|
|
||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
@ColumnInfo(name = "id")
|
@ColumnInfo(name = "id")
|
||||||
|
@NonNull
|
||||||
public String id; // ドキュメントID
|
public String id; // ドキュメントID
|
||||||
|
|
||||||
@ColumnInfo(name = "root_path")
|
@ColumnInfo(name = "root_path")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user