1 Star 0 Fork 1.4K

javaalpha/DocSys

forked from Rainy/DocSys 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DocChange.java 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
13777479349 提交于 2021-03-08 09:20 +08:00 . 代码结构优化
package com.DocSystem.common;
import com.DocSystem.entity.Doc;
import com.DocSystem.entity.Repos;
import com.DocSystem.entity.User;
public class DocChange {
private DocChangeType type = DocChangeType.UNDEFINED;
private Repos repos = null;
private Doc doc = null;
private Doc dbDoc = null;
private Doc localEntry = null;
private Doc remoteEntry = null;
//For commitAction
private String commitMsg = null;
private String commitUser = null;
private User user = null;
public void setType(DocChangeType type) {
this.type = type;
}
public DocChangeType getType()
{
return type;
}
public void setRepos(Repos repos) {
this.repos = repos;
}
public Repos getRepos()
{
return repos;
}
public void setDoc(Doc doc) {
this.doc = doc;
}
public Doc getDoc()
{
return doc;
}
public void setDbDoc(Doc dbDoc) {
this.dbDoc = dbDoc;
}
public Doc getDbDoc()
{
return dbDoc;
}
public void setLocalEntry(Doc localEntry) {
this.localEntry = localEntry;
}
public Doc getLocalEntry()
{
return localEntry;
}
public void setRemoteEntry(Doc remoteEntry) {
this.remoteEntry = remoteEntry;
}
public Doc getRemoteEntry()
{
return remoteEntry;
}
//For commitAction
public void setCommitMsg(String commitMsg) {
this.commitMsg = commitMsg;
}
public String getCommitMsg()
{
return commitMsg;
}
public void setUser(User user) {
this.user = user;
}
public User getUser()
{
return user;
}
public void setCommitUser(String commitUser) {
this.commitUser = commitUser;
}
public String getCommitUser()
{
return commitUser;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/javaalpha/DocSys.git
git@gitee.com:javaalpha/DocSys.git
javaalpha
DocSys
DocSys
master

搜索帮助