mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
WIP Entity作成
This commit is contained in:
parent
c182c97390
commit
d7f73d9207
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user