using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MLL { public class ModeloSmtpCliente { public ModeloSmtpCliente() { Id = 0; Nome = ""; ServidorSmtp = ""; Porta = 0; Usuario = ""; Senha = ""; UsarSsl = false; UsarTls = false; EmailRemetente = ""; NomeRemetente = ""; Ativo = false; CriadoEm = DateTime.MinValue; AtualizadoEm = DateTime.MinValue; } public ModeloSmtpCliente(int id, string nome, string servidorSmtp, int porta, string usuario, string senha, bool usarSsl, bool usarTls, string emailRemetente, string nomeRemetente, bool ativo, DateTime criadoEm, DateTime? atualizadoEm) { Id = id; Nome = nome; ServidorSmtp = servidorSmtp; Porta = porta; Usuario = usuario; Senha = senha; UsarSsl = usarSsl; UsarTls = usarTls; EmailRemetente = emailRemetente; NomeRemetente = nomeRemetente; Ativo = ativo; CriadoEm = criadoEm; AtualizadoEm = atualizadoEm; } public int Id { get; set; } public string Nome { get; set; } public string ServidorSmtp { get; set; } public int Porta { get; set; } public string Usuario { get; set; } public string Senha { get; set; } public bool UsarSsl { get; set; } public bool UsarTls { get; set; } public string EmailRemetente { get; set; } public string NomeRemetente { get; set; } public bool Ativo { get; set; } public DateTime CriadoEm { get; set; } public DateTime? AtualizadoEm { get; set; } } }