VcsLogModel作成

This commit is contained in:
r-ca 2024-01-24 15:34:37 +09:00
parent ab5a8bfa87
commit 93e7c10393
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -0,0 +1,64 @@
package one.nem.lacerta.model;
import java.util.Date;
public class VcsLogModel {
String id;
String documentId;
String branchName;
String action;
Date createdAt;
public VcsLogModel(String id, String documentId, String branchName, String action, Date createdAt) {
this.id = id;
this.documentId = documentId;
this.branchName = branchName;
this.action = action;
this.createdAt = createdAt;
}
// Empty constructor
public VcsLogModel() {
}
public String getId() {
return id;
}
public String getDocumentId() {
return documentId;
}
public String getBranchName() {
return branchName;
}
public String getAction() {
return action;
}
public Date getCreatedAt() {
return createdAt;
}
public void setId(String id) {
this.id = id;
}
public void setDocumentId(String documentId) {
this.documentId = documentId;
}
public void setBranchName(String branchName) {
this.branchName = branchName;
}
public void setAction(String action) {
this.action = action;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
}