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