package com.iplatform.model.vo;
|
|
import java.io.Serializable;
|
|
public class FileResultVo implements Serializable {
|
|
public String getFileName() {
|
return fileName;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
|
public String getExtName() {
|
return extName;
|
}
|
|
public void setExtName(String extName) {
|
this.extName = extName;
|
}
|
|
public Long getFileSize() {
|
return fileSize;
|
}
|
|
public void setFileSize(Long fileSize) {
|
this.fileSize = fileSize;
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
// 文件名
|
private String fileName;
|
|
// 扩展名
|
private String extName;
|
|
// 文件大小,字节
|
private Long fileSize;
|
|
// 文件存储在服务器的相对地址
|
// private String serverPath;
|
|
//可供访问的url 域名根据配置存储,代替了上面serverPath 的功能
|
private String url;
|
|
//类型
|
private String type;
|
|
@Override
|
public String toString() {
|
return "FileResultVo{" +
|
"fileName='" + fileName + '\'' +
|
", extName='" + extName + '\'' +
|
", fileSize=" + fileSize +
|
", url='" + url + '\'' +
|
", type='" + type + '\'' +
|
'}';
|
}
|
}
|