package com.lunhan.xxx.common.model;
|
|
/**
|
* 文件上传 响应dto
|
*/
|
public class ResFileUpload {
|
/**
|
* 文件名
|
*/
|
public String fileId;
|
|
/**
|
* 文件名
|
*/
|
public String fileName;
|
|
/**
|
* 是否上传成功
|
*/
|
public Boolean isSuccess;
|
|
/**
|
* 上传错误消息
|
*/
|
public String errorMsg;
|
|
/**
|
* 保存文件地址(数据库保存)
|
*/
|
public String newFilePath;
|
|
/**
|
* 文件下载/预览地址
|
*/
|
public String newFullPath;
|
|
public String getFileId() {
|
return fileId;
|
}
|
|
public void setFileId(String fileId) {
|
this.fileId = fileId;
|
}
|
|
public String getFileName() {
|
return fileName;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
|
public Boolean getIsSuccess() {
|
return isSuccess;
|
}
|
|
public void setIsSuccess(Boolean isSuccess) {
|
this.isSuccess = isSuccess;
|
}
|
|
public String getErrorMsg() {
|
return errorMsg;
|
}
|
|
public void setErrorMsg(String errorMsg) {
|
this.errorMsg = errorMsg;
|
}
|
|
public String getNewFilePath() {
|
return newFilePath;
|
}
|
|
public void setNewFilePath(String newFilePath) {
|
this.newFilePath = newFilePath;
|
}
|
|
public String getNewFullPath() {
|
return newFullPath;
|
}
|
|
public void setNewFullPath(String newFullPath) {
|
this.newFullPath = newFullPath;
|
}
|
|
@Override
|
public String toString() {
|
return "ResFileUpload{" +
|
"fileId='" + fileId + '\'' +
|
", fileName='" + fileName + '\'' +
|
", isSuccess=" + isSuccess +
|
", errorMsg='" + errorMsg + '\'' +
|
", newFilePath='" + newFilePath + '\'' +
|
", newFullPath='" + newFullPath + '\'' +
|
'}';
|
}
|
}
|