TagListのConverterを実装した

This commit is contained in:
ろむねこ 2023-12-14 11:36:41 +09:00
parent 957ad6aacb
commit f28e506060
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -9,13 +9,14 @@ import androidx.room.TypeConverters;
import one.nem.lacerta.source.database.common.DateTypeConverter;
import one.nem.lacerta.source.database.common.TagArrayListConverter;
import one.nem.lacerta.source.database.common.TagListConverter;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Entity(tableName = "document")
@TypeConverters({DateTypeConverter.class, TagArrayListConverter.class})
@TypeConverters({DateTypeConverter.class, TagListConverter.class})
public class DocumentEntity {
@PrimaryKey
@ColumnInfo(name = "id")