Entity微修正

This commit is contained in:
r-ca 2024-01-14 13:22:28 +09:00
parent f98614c5f2
commit 6845e552ef
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -3,10 +3,15 @@ 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.List; import java.util.List;
import one.nem.lacerta.source.database.common.DateTypeConverter;
@Entity(tableName = "vcs_rev") @Entity(tableName = "vcs_rev")
@TypeConverters({DateTypeConverter.class})
public class VcsRevEntity { public class VcsRevEntity {
/** /**
@ -37,8 +42,8 @@ public class VcsRevEntity {
/** /**
* コミット日時 * コミット日時
*/ */
@ColumnInfo(name = "commit_date") @ColumnInfo(name = "created_at")
public String commitDate; public Date createdAt;
/** /**
* 含まれるLogのID * 含まれるLogのID