mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Entity微修正
This commit is contained in:
parent
f98614c5f2
commit
6845e552ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user