mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
WIP Entity作成
This commit is contained in:
1 file changed
+24
@@ -1,4 +1,28 @@
|
||||
package one.nem.lacerta.source.db.entity;
|
||||
|
||||
import androidx.room.Entity;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import one.nem.lacerta.data.model.documents.enums.DocumentType;
|
||||
|
||||
@Entity
|
||||
public class Documents {
|
||||
@PrimaryKey
|
||||
private String id;
|
||||
|
||||
private String name; // Titleに変更する?
|
||||
|
||||
private DocumentType type; // DocumentTypeに変更する?
|
||||
|
||||
private Date created;
|
||||
|
||||
private String[] tags;
|
||||
|
||||
private String[] categories;
|
||||
|
||||
private String repositoryId;
|
||||
|
||||
// WIP
|
||||
}
|
||||
Reference in new issue
Block a user