shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
package com.ishop.model.vo;
 
import java.io.Serializable;
 
/**
 * 前端APP上传文件,系统返回的对象。
 * @author 时克英
 * @date 2023-07-02
 */
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 + '\'' +
                '}';
    }
}