mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
Model作成
This commit is contained in:
parent
b852e9b7ee
commit
f0ed4327ca
80
model/src/main/java/one/nem/lacerta/model/VcsRevModel.java
Normal file
80
model/src/main/java/one/nem/lacerta/model/VcsRevModel.java
Normal file
|
@ -0,0 +1,80 @@
|
|||
package one.nem.lacerta.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
||||
public class VcsRevModel {
|
||||
|
||||
String id;
|
||||
|
||||
String documentId;
|
||||
|
||||
String branchName;
|
||||
|
||||
String commitMessage;
|
||||
|
||||
Date createdAt;
|
||||
|
||||
ArrayList<String> logIds;
|
||||
|
||||
public VcsRevModel(String id, String documentId, String branchName, String commitMessage, Date createdAt, ArrayList<String> logIds) {
|
||||
this.id = id;
|
||||
this.documentId = documentId;
|
||||
this.branchName = branchName;
|
||||
this.commitMessage = commitMessage;
|
||||
this.createdAt = createdAt;
|
||||
this.logIds = logIds;
|
||||
}
|
||||
|
||||
// Empty constructor
|
||||
public VcsRevModel() {
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getDocumentId() {
|
||||
return documentId;
|
||||
}
|
||||
|
||||
public String getBranchName() {
|
||||
return branchName;
|
||||
}
|
||||
|
||||
public String getCommitMessage() {
|
||||
return commitMessage;
|
||||
}
|
||||
|
||||
public Date getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public ArrayList<String> getLogIds() {
|
||||
return logIds;
|
||||
}
|
||||
|
||||
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 setCommitMessage(String commitMessage) {
|
||||
this.commitMessage = commitMessage;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public void setLogIds(ArrayList<String> logIds) {
|
||||
this.logIds = logIds;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user