mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
TagListのConverterを実装した
This commit is contained in:
parent
957ad6aacb
commit
f28e506060
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user