package com.bcxin.file.model;


/**
 * @Auther linqinglin
 * @date 2022/9/23 14:07
 */
public class FtpConfig {
    private String ip;
    private String userName;
    private String password;
    private int port;
    private String path;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public static FtpConfig getBjConfig(){
        FtpConfig bjConfig = new FtpConfig();
        bjConfig.setIp("14.16.176.2");
        bjConfig.setPassword("zazd#32A13");
        bjConfig.setPath("");
        bjConfig.setPort(21);
        bjConfig.setUserName("basc");
        return bjConfig;
    }

    public static FtpConfig getTestConfig(){
        FtpConfig bjConfig = new FtpConfig();
        bjConfig.setIp("49.4.84.49");
        bjConfig.setPassword("Bcx#sn2020");
        bjConfig.setPath("/data/ftptest/snupload");
        bjConfig.setPort(21);
        bjConfig.setUserName("snbaichuanxin");
        return bjConfig;
    }

    public static FtpConfig getLocalConfig(){
        FtpConfig bjConfig = new FtpConfig();
        bjConfig.setIp("81.69.33.170");
        bjConfig.setPassword("gogofis");
        bjConfig.setPath("/home/justme070");
        bjConfig.setPort(21);
        bjConfig.setUserName("justme070");
        return bjConfig;
    }
}
