package com.DocSystem.common.entity;

public class CommitEntry {

	public String id;			//uniqueId for commitEntry [commitId-docId]
	
	public Long startTime;		//startTime
	public Long endTime;		//endTime
	
	public String ip;			//IP for commit Request
	
	public Integer userId;		//commit User ID
	public String userName;		//commit User Name
	
	public Long commitId;		//commitId [commit's init timestamp]
	public String commitMsg;	//commit Message
	public String commitUsers;	//Users who involved in this commit

	public String commitAction;			//addDoc/deleteDoc/copyDoc/moveDoc/updateDoc/uploadDoc/saveDoc
	
	public Integer reposId;		//reposId 
	public String reposName;	//reposName
	
	//Info for doc
	public Long docId;			//commitEntry DocId
	public String path;			//commitEntryPath
	public String name;			//commitEntryName
	public String realCommitAction;		//add/delete/modify/noChange/move/copy/filetodir/dirtofile	//add和modify并不影响历史文件获取，但是会影响显示	
	public Integer isSrcEntry;	//For copy/move/renameDoc used to mark the entry is srcEntry or not
	public Integer entryType;	//1:file 2:folder
	public Long size;			//Size of file, folder size is null or 0
	public Long latestEditTime; //latest Edit Time
}
