mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
Entity微修正
This commit is contained in:
1 file changed
+7
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user