WIP DateTypeConverter実装

This commit is contained in:
r-ca 2023-12-14 03:40:58 +09:00
parent 8663b86fc6
commit 4296ed6209
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -4,10 +4,14 @@ import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverters;
import one.nem.lacerta.source.database.common.DateTypeConverter;
import java.util.Date;
@Entity(tableName = "document")
@TypeConverters(DateTypeConverter.class)
public class Document {
@PrimaryKey
@ColumnInfo(name = "id")