648540858
2023-06-05 db3240d918212b9f6f87fdb7704040f0107b456f
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
package com.genersoft.iot.vmp.vmanager.bean;
 
import io.swagger.v3.oas.annotations.media.Schema;
 
@Schema(description = "截图地址信息")
public class SnapPath {
 
    @Schema(description = "相对地址")
    private String path;
 
    @Schema(description = "绝对地址")
    private String absoluteFilePath;
 
    @Schema(description = "请求地址")
    private String url;
 
 
    public static SnapPath getInstance(String path, String absoluteFilePath, String url) {
        SnapPath snapPath = new SnapPath();
        snapPath.setPath(path);
        snapPath.setAbsoluteFilePath(absoluteFilePath);
        snapPath.setUrl(url);
        return snapPath;
    }
 
 
    public String getPath() {
        return path;
    }
 
    public void setPath(String path) {
        this.path = path;
    }
 
    public String getAbsoluteFilePath() {
        return absoluteFilePath;
    }
 
    public void setAbsoluteFilePath(String absoluteFilePath) {
        this.absoluteFilePath = absoluteFilePath;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
}