63 lines
1.7 KiB
C#
63 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MLL
|
|
{
|
|
public class ModeloFtpCliente
|
|
{
|
|
public ModeloFtpCliente()
|
|
{
|
|
Id = 0;
|
|
Nome = "";
|
|
Host = "";
|
|
Porta = 0;
|
|
Usuario = "";
|
|
Senha = "";
|
|
UsarSsl = false;
|
|
ModoPassivo = false;
|
|
DiretorioRaiz = "";
|
|
Ativo = false;
|
|
CriadoEm = DateTime.MinValue;
|
|
AtualizadoEm = DateTime.MinValue;
|
|
}
|
|
public ModeloFtpCliente(int id, string nome, string host, int porta, string usuario, string senha, bool usarSsl, bool modoPassivo, string diretorioRaiz, bool ativo, DateTime criadoEm, DateTime? atualizadoEm)
|
|
{
|
|
Id = id;
|
|
Nome = nome;
|
|
Host = host;
|
|
Porta = porta;
|
|
Usuario = usuario;
|
|
Senha = senha;
|
|
UsarSsl = usarSsl;
|
|
ModoPassivo = modoPassivo;
|
|
DiretorioRaiz = diretorioRaiz;
|
|
Ativo = ativo;
|
|
CriadoEm = criadoEm;
|
|
AtualizadoEm = atualizadoEm;
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
|
|
public string Nome { get; set; }
|
|
|
|
public string Host { get; set; }
|
|
public int Porta { get; set; }
|
|
|
|
public string Usuario { get; set; }
|
|
public string Senha { get; set; }
|
|
|
|
public bool UsarSsl { get; set; }
|
|
public bool ModoPassivo { get; set; }
|
|
|
|
public string DiretorioRaiz { get; set; }
|
|
|
|
public bool Ativo { get; set; }
|
|
|
|
public DateTime CriadoEm { get; set; }
|
|
public DateTime? AtualizadoEm { get; set; }
|
|
}
|
|
}
|