mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
CombineDocumentEntity作成
This commit is contained in:
parent
055f1fdae1
commit
74563f75b1
|
@ -0,0 +1,30 @@
|
|||
package one.nem.lacerta.source.database.entity;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.room.ColumnInfo;
|
||||
import androidx.room.Entity;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
@Entity(tableName = "combine_document")
|
||||
public class CombineDocumentEntity {
|
||||
|
||||
@PrimaryKey
|
||||
@ColumnInfo(name = "id")
|
||||
@NonNull
|
||||
public String id; // ドキュメントID
|
||||
|
||||
@ColumnInfo(name = "title")
|
||||
public String title; // タイトル
|
||||
|
||||
@ColumnInfo(name = "created_at")
|
||||
public String createdAt; // 作成日時
|
||||
|
||||
@ColumnInfo(name = "updated_at")
|
||||
public String updatedAt; // 更新日時
|
||||
|
||||
@ColumnInfo(name = "author")
|
||||
public String author; // 作成者
|
||||
|
||||
@ColumnInfo(name = "parent_id")
|
||||
public String parentId; // 親フォルダID
|
||||
}
|
Loading…
Reference in New Issue
Block a user