UploadProperties.java 1.66 KB
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;
    }
}