- 实现SVN日志查询工具,支持版本范围和用户过滤 - 添加DeepSeek API集成,用于AI分析日志内容 - 创建Excel生成器,输出工作量统计报表 - 添加日志实体类和项目配置管理功能 - 集成POI库支持Excel文件操作 - 实现Markdown格式日志导出功能
72 lines
1.4 KiB
Java
72 lines
1.4 KiB
Java
package com.svnlog;
|
|
|
|
import java.util.Date;
|
|
|
|
public class LogEntry {
|
|
private long revision;
|
|
private String author;
|
|
private Date date;
|
|
private String message;
|
|
private String[] changedPaths;
|
|
|
|
public LogEntry() {
|
|
}
|
|
|
|
public LogEntry(long revision, String author, Date date, String message) {
|
|
this.revision = revision;
|
|
this.author = author;
|
|
this.date = date;
|
|
this.message = message;
|
|
}
|
|
|
|
public long getRevision() {
|
|
return revision;
|
|
}
|
|
|
|
public void setRevision(long revision) {
|
|
this.revision = revision;
|
|
}
|
|
|
|
public String getAuthor() {
|
|
return author;
|
|
}
|
|
|
|
public void setAuthor(String author) {
|
|
this.author = author;
|
|
}
|
|
|
|
public Date getDate() {
|
|
return date;
|
|
}
|
|
|
|
public void setDate(Date date) {
|
|
this.date = date;
|
|
}
|
|
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
|
|
public String[] getChangedPaths() {
|
|
return changedPaths;
|
|
}
|
|
|
|
public void setChangedPaths(String[] changedPaths) {
|
|
this.changedPaths = changedPaths;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "LogEntry{" +
|
|
"revision=" + revision +
|
|
", author='" + author + '\'' +
|
|
", date=" + date +
|
|
", message='" + message + '\'' +
|
|
'}';
|
|
}
|
|
}
|