|
|
@@ -15,11 +15,17 @@ public class FileInfoDTO extends BaseFileInfo implements Serializable {
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
- * 链接
|
|
|
+ * 存储路径
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "文件path")
|
|
|
+ @ApiModelProperty(value = "文件存储path")
|
|
|
private String fullPath;
|
|
|
|
|
|
+ /**
|
|
|
+ * 访问链接
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "文件访问path")
|
|
|
+ private String accessPath;
|
|
|
+
|
|
|
/**
|
|
|
* 类型
|
|
|
*/
|
|
|
@@ -67,6 +73,14 @@ public class FileInfoDTO extends BaseFileInfo implements Serializable {
|
|
|
this.mime = mime;
|
|
|
}
|
|
|
|
|
|
+ public String getAccessPath() {
|
|
|
+ return accessPath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAccessPath(String accessPath) {
|
|
|
+ this.accessPath = accessPath;
|
|
|
+ }
|
|
|
+
|
|
|
public String getExt() {
|
|
|
return ext;
|
|
|
}
|
|
|
@@ -95,9 +109,8 @@ public class FileInfoDTO extends BaseFileInfo implements Serializable {
|
|
|
public String toString() {
|
|
|
return "FileInfoDTO{" +
|
|
|
"id=" + id +
|
|
|
- ", folderId=" + folderId +
|
|
|
- ", name=" + name +
|
|
|
", fullPath='" + fullPath + '\'' +
|
|
|
+ ", accessPath='" + accessPath + '\'' +
|
|
|
", mime='" + mime + '\'' +
|
|
|
", ext='" + ext + '\'' +
|
|
|
", size=" + size +
|