mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
Documentsエンティティ修正
This commit is contained in:
parent
22d92f87ce
commit
e9689bb99a
|
@ -1,5 +1,6 @@
|
||||||
package one.nem.lacerta.source.db.entity;
|
package one.nem.lacerta.source.db.entity;
|
||||||
|
|
||||||
|
import androidx.room.ColumnInfo;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
|
|
||||||
|
@ -12,14 +13,22 @@ public class Documents {
|
||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
private String name; // Titleに変更する?
|
@ColumnInfo(name = "name")
|
||||||
|
private String title; // Titleに変更する?
|
||||||
|
|
||||||
|
@ColumnInfo(name = "type")
|
||||||
private DocumentType type; // DocumentTypeに変更する?
|
private DocumentType type; // DocumentTypeに変更する?
|
||||||
|
|
||||||
|
@ColumnInfo(name = "created")
|
||||||
private Date created;
|
private Date created;
|
||||||
|
|
||||||
|
@ColumnInfo(name = "updated")
|
||||||
|
private Date updated;
|
||||||
|
|
||||||
|
@ColumnInfo(name = "tags")
|
||||||
private String[] tags;
|
private String[] tags;
|
||||||
|
|
||||||
|
@ColumnInfo(name = "categories")
|
||||||
private String[] categories;
|
private String[] categories;
|
||||||
|
|
||||||
// WIP
|
// WIP
|
||||||
|
|
Loading…
Reference in New Issue
Block a user