mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Converter追加
This commit is contained in:
parent
e848f40b8b
commit
a7195c4079
|
@ -3,10 +3,14 @@ package one.nem.lacerta.source.database.entity;
|
||||||
import androidx.room.ColumnInfo;
|
import androidx.room.ColumnInfo;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
|
import androidx.room.TypeConverters;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import one.nem.lacerta.source.database.common.DateTypeConverter;
|
||||||
|
|
||||||
@Entity(tableName = "vcs_log")
|
@Entity(tableName = "vcs_log")
|
||||||
|
@TypeConverters({DateTypeConverter.class})
|
||||||
public class VcsLogEntity {
|
public class VcsLogEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user