using BusinessModels.Enums; namespace BusinessModels.Clientes; public class NextCliente { public int Codigo { get; set; } public int IdPlataforma { get; set; } public string Nome { get; set; } = string.Empty; public string Cpf { get; set; } = string.Empty; public string? NumeroContrato { get; set; } public string? NumeroProcesso { get; set; } public string? NumeroEmpenho { get; set; } public byte? DiaInicioApuracao { get; set; } public byte? DiaFimApuracao { get; set; } public string Rg { get; set; } = string.Empty; public string Endereco { get; set; } = string.Empty; public string Bairro { get; set; } = string.Empty; public string Cep { get; set; } = string.Empty; public string Cidade { get; set; } = string.Empty; public string Estado { get; set; } = string.Empty; // 2 chars public string Telefone { get; set; } = string.Empty; public string Fax { get; set; } = string.Empty; public string Contato { get; set; } = string.Empty; public string Cargo { get; set; } = string.Empty; public string Email { get; set; } = string.Empty; public string Email2 { get; set; } = string.Empty; public string Email3 { get; set; } = string.Empty; public string Celular { get; set; } = string.Empty; public string CelularAtualizado { get; set; } = string.Empty; public string CelularAntigo { get; set; } = string.Empty; public string TelefoneContato { get; set; } = string.Empty; public string Senha { get; set; } = string.Empty; public YesNo Ativa { get; set; } = YesNo.S; // Zero-date legado -> sugiro usar ConvertZeroDateTime na connection string. public DateTime DatCad { get; set; } // '0000-00-00' vira DateTime.MinValue public TimeSpan HorCad { get; set; } // '00:00:00' public string Segmento { get; set; } = string.Empty; public YesNo Status { get; set; } public YesNo AtivaNews { get; set; } public string Chave { get; set; } = string.Empty; public int Plano { get; set; } public int QtdSms { get; set; } public string Login { get; set; } = string.Empty; public int Dia { get; set; } public string Ddd { get; set; } = string.Empty; public string Ip { get; set; } = string.Empty; public string DddCidade { get; set; } = string.Empty; public string LoginSoftphone { get; set; } = string.Empty; public string SenhaSoftphone { get; set; } = string.Empty; public string RemetenteCelular { get; set; } = string.Empty; public int DiasAtraso { get; set; } public bool AtivarBloqueio { get; set; } public bool NotaFiscal { get; set; } public int QtdDiasRetirar { get; set; } public bool Excluido { get; set; } public int QtdRamais { get; set; } public string Origem { get; set; } = string.Empty; public bool PortalVoz { get; set; } public bool MinutosPromocionais { get; set; } public string MotivoTrocaPlano { get; set; } = string.Empty; // text NOT NULL public string EspecificacoesPrimeirosPassos { get; set; } = string.Empty; // text NOT NULL public int RamalAdministrativo { get; set; } public int RamalCallcenter { get; set; } public int NumeroVitual { get; set; } // mantive o nome fiel ao DDL (vitual) public bool BloquearPaypal { get; set; } public bool BloquearPagseguro { get; set; } public bool BloquearBoleto { get; set; } public int BloquearPix { get; set; } // int(11) no DDL public DateOnly DataNascimento { get; set; } public string ApiSms { get; set; } = string.Empty; // char(2) public bool Portabilidade { get; set; } public string AnotacoesPortabilidade { get; set; } = string.Empty; // text NOT NULL public bool QueroReceberComodato { get; set; } public int QtdComodato { get; set; } public bool ApiEnvioSms { get; set; } public int CodVs { get; set; } public bool ClienteExportadoAdmin { get; set; } public bool ClienteImportado { get; set; } public int QtdRamaisFixo { get; set; } public int QtdRamaisFixoMovel { get; set; } public int Bloqueado { get; set; } // int(11) (não mapeado como bool) public int DealID { get; set; } public bool Anual { get; set; } public int CodSms { get; set; } public string Ddd2 { get; set; } = string.Empty; public string Cidade2 { get; set; } = string.Empty; public string? DetalhesAreaDoCliente { get; set; } // TEXT NULL }