Metaの取得を1クエリで完結させたいのでDocumentEntityに移動

This commit is contained in:
ろむねこ 2023-12-14 10:56:13 +09:00
parent 5b9b9b5580
commit d28f03573d
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -8,6 +8,7 @@ import androidx.room.TypeConverters;
import one.nem.lacerta.source.database.common.DateTypeConverter; import one.nem.lacerta.source.database.common.DateTypeConverter;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@Entity(tableName = "document") @Entity(tableName = "document")
@ -32,4 +33,7 @@ public class DocumentEntity {
@ColumnInfo(name = "default_branch") @ColumnInfo(name = "default_branch")
public String defaultBranch; // デフォルトブランチ public String defaultBranch; // デフォルトブランチ
@ColumnInfo(name = "tag_ids
public ArrayList<String> tagIds; // タグ
} }