liulin
2024-07-30 9509af69aff71aeb1f3b62f766e124d291c3f374
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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 + '\'' +
                '}';
    }
}