package com.tcm.training.admin.upload;
|
|
public class UploadProgressInfo {
|
|
public static final String STATUS_UPLOADING = "uploading";
|
public static final String STATUS_SUCCESS = "success";
|
public static final String STATUS_FAILED = "failed";
|
|
private String taskId;
|
private String status;
|
private Integer percent;
|
private Long transferredBytes;
|
private Long totalBytes;
|
private String url;
|
private String fileName;
|
private String errorMessage;
|
|
public String getTaskId() {
|
return taskId;
|
}
|
|
public void setTaskId(String taskId) {
|
this.taskId = taskId;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public Integer getPercent() {
|
return percent;
|
}
|
|
public void setPercent(Integer percent) {
|
this.percent = percent;
|
}
|
|
public Long getTransferredBytes() {
|
return transferredBytes;
|
}
|
|
public void setTransferredBytes(Long transferredBytes) {
|
this.transferredBytes = transferredBytes;
|
}
|
|
public Long getTotalBytes() {
|
return totalBytes;
|
}
|
|
public void setTotalBytes(Long totalBytes) {
|
this.totalBytes = totalBytes;
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
public String getFileName() {
|
return fileName;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
|
public String getErrorMessage() {
|
return errorMessage;
|
}
|
|
public void setErrorMessage(String errorMessage) {
|
this.errorMessage = errorMessage;
|
}
|
}
|