UploadProperties.java
1.66 KB
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
package com.hotent.file.model;
import io.swagger.annotations.ApiModelProperty;
/**
* 上传属性配置
*/
public class UploadProperties {
private String location;
private Integer encryptName;
@ApiModelProperty(value="ftp上传地址")
protected String ftpUrl;
@ApiModelProperty(value="FTP端口号")
protected Integer ftpPort;
@ApiModelProperty(value="ftp认证用户名")
protected String ftpUserName;
@ApiModelProperty(value="FTP认证用户密码")
protected String ftpPassword;
protected String uploadType;
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public Integer getEncryptName() {
return encryptName;
}
public void setEncryptName(Integer encryptName) {
this.encryptName = encryptName;
}
public String getFtpUrl() {
return ftpUrl;
}
public void setFtpUrl(String ftpUrl) {
this.ftpUrl = ftpUrl;
}
public Integer getFtpPort() {
return ftpPort;
}
public void setFtpPort(Integer ftpPort) {
this.ftpPort = ftpPort;
}
public String getFtpUserName() {
return ftpUserName;
}
public void setFtpUserName(String ftpUserName) {
this.ftpUserName = ftpUserName;
}
public String getFtpPassword() {
return ftpPassword;
}
public void setFtpPassword(String ftpPassword) {
this.ftpPassword = ftpPassword;
}
public String getUploadType() {
return uploadType;
}
public void setUploadType(String uploadType) {
this.uploadType = uploadType;
}
}