package com.inspect.base.core.sftp;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Setter
@Getter
@Component
@ConfigurationProperties(
        prefix = "sftp"
)
public class SftpLoginConfig {
    private String ip;
    private String port;
    private String username;
    private String password;
    private String isImplicit;
    private String basePath;
    private String prefix;

    @Override
    public String toString() {
        return "SftpLoginConfig{" +
                "ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", isImplicit='" + isImplicit + '\'' +
                ", basePath='" + basePath + '\'' +
                ", prefix='" + prefix + '\'' +
                '}';
    }
}
