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