Rev実装

This commit is contained in:
r-ca 2024-01-14 11:28:51 +09:00
parent a7195c4079
commit 53b3ebebef
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,5 +1,48 @@
package one.nem.lacerta.source.database.entity;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import java.util.List;
@Entity(tableName = "vcs_rev")
public class VcsRevEntity {
// TODO-rca: 未実装
/**
* リビジョンID
*/
@PrimaryKey
@ColumnInfo(name = "id")
public String id;
/**
* ドキュメントID
*/
@ColumnInfo(name = "document_id")
public String documentId;
/**
* ブランチ名
*/
@ColumnInfo(name = "branch_name")
public String branchName;
/**
* コミットメッセージ
*/
@ColumnInfo(name = "commit_message")
public String commitMessage;
/**
* コミット日時
*/
@ColumnInfo(name = "commit_date")
public String commitDate;
/**
* 含まれるLogのID
*/
@ColumnInfo(name = "log_ids")
public List<String> logIds;
}