|
@@ -20,37 +20,37 @@ public class SnapProperties extends JsonProperties {
|
|
|
private String job;
|
|
private String job;
|
|
|
|
|
|
|
|
@FieldDescribe("工作")
|
|
@FieldDescribe("工作")
|
|
|
- private List<Work> workList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Work> workList = new ArrayList<Work>();
|
|
|
|
|
|
|
|
@FieldDescribe("已完成工作")
|
|
@FieldDescribe("已完成工作")
|
|
|
private WorkCompleted workCompleted;
|
|
private WorkCompleted workCompleted;
|
|
|
|
|
|
|
|
@FieldDescribe("待办")
|
|
@FieldDescribe("待办")
|
|
|
- private List<Task> taskList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Task> taskList = new ArrayList<Task>();
|
|
|
|
|
|
|
|
@FieldDescribe("已办")
|
|
@FieldDescribe("已办")
|
|
|
- private List<TaskCompleted> taskCompletedList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<TaskCompleted> taskCompletedList = new ArrayList<TaskCompleted>();
|
|
|
|
|
|
|
|
@FieldDescribe("待阅")
|
|
@FieldDescribe("待阅")
|
|
|
- private List<Read> readList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Read> readList = new ArrayList<Read>();
|
|
|
|
|
|
|
|
@FieldDescribe("已阅")
|
|
@FieldDescribe("已阅")
|
|
|
- private List<ReadCompleted> readCompletedList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<ReadCompleted> readCompletedList = new ArrayList<ReadCompleted>();
|
|
|
|
|
|
|
|
@FieldDescribe("参阅")
|
|
@FieldDescribe("参阅")
|
|
|
- private List<Review> reviewList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Review> reviewList = new ArrayList<Review>();
|
|
|
|
|
|
|
|
@FieldDescribe("附件")
|
|
@FieldDescribe("附件")
|
|
|
- private List<Attachment> attachmentList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Attachment> attachmentList = new ArrayList<Attachment>();
|
|
|
|
|
|
|
|
@FieldDescribe("记录")
|
|
@FieldDescribe("记录")
|
|
|
- private List<Record> recordList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<Record> recordList = new ArrayList<Record>();
|
|
|
|
|
|
|
|
@FieldDescribe("工作日志")
|
|
@FieldDescribe("工作日志")
|
|
|
- private List<WorkLog> workLogList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<WorkLog> workLogList = new ArrayList<WorkLog>();
|
|
|
|
|
|
|
|
@FieldDescribe("版式文件版本")
|
|
@FieldDescribe("版式文件版本")
|
|
|
- private List<DocumentVersion> documentVersionList = new ArrayList<>();
|
|
|
|
|
|
|
+ private List<DocumentVersion> documentVersionList = new ArrayList<DocumentVersion>();
|
|
|
|
|
|
|
|
public Data getData() {
|
|
public Data getData() {
|
|
|
return data;
|
|
return data;
|
|
@@ -74,70 +74,70 @@ public class SnapProperties extends JsonProperties {
|
|
|
|
|
|
|
|
public List<Work> getWorkList() {
|
|
public List<Work> getWorkList() {
|
|
|
if (null == this.workList) {
|
|
if (null == this.workList) {
|
|
|
- this.workList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.workList = new ArrayList<Work>();
|
|
|
}
|
|
}
|
|
|
return workList;
|
|
return workList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<Task> getTaskList() {
|
|
public List<Task> getTaskList() {
|
|
|
if (null == this.taskList) {
|
|
if (null == this.taskList) {
|
|
|
- this.taskList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.taskList = new ArrayList<Task>();
|
|
|
}
|
|
}
|
|
|
return taskList;
|
|
return taskList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<TaskCompleted> getTaskCompletedList() {
|
|
public List<TaskCompleted> getTaskCompletedList() {
|
|
|
if (null == this.taskCompletedList) {
|
|
if (null == this.taskCompletedList) {
|
|
|
- this.taskCompletedList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.taskCompletedList = new ArrayList<TaskCompleted>();
|
|
|
}
|
|
}
|
|
|
return taskCompletedList;
|
|
return taskCompletedList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<Read> getReadList() {
|
|
public List<Read> getReadList() {
|
|
|
if (null == this.readList) {
|
|
if (null == this.readList) {
|
|
|
- this.readList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.readList = new ArrayList<Read>();
|
|
|
}
|
|
}
|
|
|
return readList;
|
|
return readList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<ReadCompleted> getReadCompletedList() {
|
|
public List<ReadCompleted> getReadCompletedList() {
|
|
|
if (null == this.readCompletedList) {
|
|
if (null == this.readCompletedList) {
|
|
|
- this.readCompletedList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.readCompletedList = new ArrayList<ReadCompleted>();
|
|
|
}
|
|
}
|
|
|
return readCompletedList;
|
|
return readCompletedList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<Review> getReviewList() {
|
|
public List<Review> getReviewList() {
|
|
|
if (null == this.reviewList) {
|
|
if (null == this.reviewList) {
|
|
|
- this.reviewList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.reviewList = new ArrayList<Review>();
|
|
|
}
|
|
}
|
|
|
return reviewList;
|
|
return reviewList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<Attachment> getAttachmentList() {
|
|
public List<Attachment> getAttachmentList() {
|
|
|
if (null == this.attachmentList) {
|
|
if (null == this.attachmentList) {
|
|
|
- this.attachmentList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.attachmentList = new ArrayList<Attachment>();
|
|
|
}
|
|
}
|
|
|
return attachmentList;
|
|
return attachmentList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<Record> getRecordList() {
|
|
public List<Record> getRecordList() {
|
|
|
if (null == this.recordList) {
|
|
if (null == this.recordList) {
|
|
|
- this.recordList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.recordList = new ArrayList<Record>();
|
|
|
}
|
|
}
|
|
|
return recordList;
|
|
return recordList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<WorkLog> getWorkLogList() {
|
|
public List<WorkLog> getWorkLogList() {
|
|
|
if (null == this.workLogList) {
|
|
if (null == this.workLogList) {
|
|
|
- this.workLogList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.workLogList = new ArrayList<WorkLog>();
|
|
|
}
|
|
}
|
|
|
return workLogList;
|
|
return workLogList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public List<DocumentVersion> getDocumentVersionList() {
|
|
public List<DocumentVersion> getDocumentVersionList() {
|
|
|
if (null == this.documentVersionList) {
|
|
if (null == this.documentVersionList) {
|
|
|
- this.documentVersionList = new ArrayList<>();
|
|
|
|
|
|
|
+ this.documentVersionList = new ArrayList<DocumentVersion>();
|
|
|
}
|
|
}
|
|
|
return documentVersionList;
|
|
return documentVersionList;
|
|
|
}
|
|
}
|
|
@@ -183,7 +183,7 @@ public class SnapProperties extends JsonProperties {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void setDocumentVersionList(List<DocumentVersion> documentVersionList) {
|
|
public void setDocumentVersionList(List<DocumentVersion> documentVersionList) {
|
|
|
- documentVersionList = documentVersionList;
|
|
|
|
|
|
|
+ this.documentVersionList = documentVersionList;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public WorkCompleted getWorkCompleted() {
|
|
public WorkCompleted getWorkCompleted() {
|