InfoCliente Classes

 avatar
unknown
csharp
3 years ago
9.4 kB
3
Indexable
public enum EnumOrigemVenda
{
    Sisloja = 1,
    Site = 2,
    App = 3,
    SislojaOffline = 4
}

public class ExternalInfoClienteViewModel
{
    public string Nome { get; set; }
    public string Email { get; set; }
    public string Telefone { get; set; }
    public string Celular { get; set; }
    public ExternalEnderecoViewModel Endereco { get; set; }

    public List<ExternalVendaViewModel> Vendas { get; set; }
    public List<ExternalAssistenciaViewModel> Assistencias { get; set; }
    public List<ExternalFormularioViewModel> Formularios { get; set; }
    public List<ExternalRegistroAtendimentoViewModel> RegistrosAtendimento { get; set; }
}

public class ExternalEnderecoViewModel
{
    public string Rua { get; set; }
    public string Numero { get; set; }
    public string Complemento { get; set; }
    public string Bairro { get; set; }
    public string Cidade { get; set; }
    public string Estado { get; set; }
    public string CEP { get; set; }
    public string CodigoIBGE { get; set; }
}

public class ExternalVendaViewModel
{
    public int Id { get; set; }
    public int? BorderoId { get; set; }
    public int Parcelas { get; set; }
    public string IdOrtobom { get; set; }
    public string CNPJ { get; set; }
    public string NomeFantasia { get; set; }
    public string RazaoSocial { get; set; }
    public int TipoLojaId { get; set; }
    public string TipoLojaNome { get; set; }
    public string Fabrica { get; set; }
    public int Unidade { get; set; }
    public string CodigoLoja { get; set; }
    public EnumOrigemVenda OrigemVenda { get; set; }
    public int LojaId { get; set; }
    public DateTime DataAbertura { get; set; }
    public DateTime? DataFechamento { get; set; }
    public string VendasStatusNome { get; set; }
    public int VendasStatusId { get; set; }
    public decimal Valor { get; set; }
    public ExternalPagamentosViewModel Pagamentos { get; set; }
    public List<ExternalProdutoViewModel> Produtos { get; set; }
    public ExternalEnderecoViewModel Endereco { get; set; }
}

public class ExternalPagamentosViewModel
{
    public List<ExternalPagamentoViewModel> Cartoes { get; set; }
    public List<ExternalPagamentoViewModel> Tef { get; set; }
    public List<ExternalPagamentoViewModel> Dinheiros { get; set; }
    public List<ExternalPagamentoViewModel> Cheques { get; set; }
    public List<ExternalPagamentoViewModel> Boletos { get; set; }
}

public class ExternalPagamentoViewModel
{
    public float Valor { get; set; }
}

public class ExternalProdutoViewModel
{
    public string Codigo { get; set; }
    public int Quantidade { get; set; }
    public decimal ValorUnitario { get; set; }
    public string Nome { get; set; }
    public int Altura { get; set; }
    public int Comprimento { get; set; }
    public int Largura { get; set; }
    public bool Sobmedida { get; set; }
    public List<ExternalInfoPedidosMaeViewModel> InfoPedidosMae { get; set; }
}

public class ExternalInfoPedidosMaeViewModel
{
    public string PedidoMae { get; set; }
    public DateTime? DataEmissao { get; set; }
    public string CodigoEmbarque { get; set; }
    public DateTime? DataPrevisaoCarregamento { get; set; }
}

public class ExternalAssistenciaViewModel
{
    public int Id { get; set; }
    public DateTime DataAbertura { get; set; }
    public int? VendaId { get; set; }
    public int ResponsavelId { get; set; }
    public string Responsavel { get; set; }
    public string CPFResponsavel { get; set; }
    public int StatusId { get; set; }
    public string Status { get; set; }
    public int LojaId { get; set; }
    public string Loja { get; set; }
    public string CNPJLoja { get; set; }
    public DateTime? DiaVisita { get; set; }
    public string PeriodoDiaVisita { get; set; }
    public IEnumerable<ExternalMotivoViewModel> MotivosApontadosPeloCliente { get; set; }
    public int ProdutoId { get; set; }
    public string NomeProduto { get; set; }
    public string CodigoProduto { get; set; }
    public bool SobMedida { get; set; }
    public int? Altura { get; set; }
    public int? Comprimento { get; set; }
    public int? Largura { get; set; }
    public DateTime? DataFabricacao { get; set; }
    public string MotivoAlternativoCliente { get; set; }
    public string BiotipoClienteAltura { get; set; }
    public string BiotipoClientePeso { get; set; }
    public bool EntraCaminhaoGrandeNaRua { get; set; }
    public string Observacoes { get; set; }
    public string AssistenteTecnico { get; set; }
    public string AssistenteTecnicoCPF { get; set; }
    public int? CertificadoDeGarantiaId { get; set; }
    public string JustificativaCertificadoDeGarantia { get; set; }
    public IEnumerable<ExternalMotivoViewModel> MotivosObservadosNaVisita { get; set; }
    public string MotivoAlteranativoObservadosNaVisita { get; set; }
    public int? SolicitacaoVistoriaId { get; set; }
    public int? LaudoId { get; set; }
    public int? Laudo2Id { get; set; }
    public int? PedidoCompraId { get; set; }
    public int? FotoEtiquetaId { get; set; }
    public string ObservacoesVisita { get; set; }
    public ExternalPedidoTrocaViewModel PedidoTroca { get; set; }
    public ExternalRespostaFabricaViewModel RespostaFabrica { get; set; }
}

public class ExternalMotivoViewModel
{
    public int Id { get; set; }
    public string Nome { get; set; }
}

public class ExternalPedidoTrocaViewModel
{
    public int? Id { get; set; }
    public DateTime DataAbertura { get; set; }
    public string CodigoDeBarras { get; set; }
    public string Nome { get; set; }
    public string EAN { get; set; }
    public bool SobMedida { get; set; }
    public int? Altura { get; set; }
    public int? Comprimento { get; set; }
    public int? Largura { get; set; }
    public string TelefoneCliente { get; set; }
    public string Observacoes { get; set; }
}

public class ExternalRespostaFabricaViewModel
{
    public DateTime? DataResposta { get; set; }
    public bool ValidacaoCliente { get; set; }
    public bool TrocaValidada { get; set; }
    public DateTime? DiaProgramacao { get; set; }
    public string DiaProgramacaoPeriodo { get; set; }
    public string MotivoRespostaAlternativo { get; set; }
    public IEnumerable<ExternalMotivoViewModel> MotivosResposta { get; set; }
    public string ComentariosResposta { get; set; }
}

public class ExternalFormularioViewModel
{
    public int Protocolo { get; set; }
    public DateTime? DataCriacao { get; set; }
    public string Assunto { get; set; }
    public string Cliente { get; set; }
    public string CPF { get; set; }
    public string Telefone { get; set; }
    public string Email { get; set; }
    public string Endereco { get; set; }
    public string Bairro { get; set; }
    public string Cidade { get; set; }
    public string Estado { get; set; }
    public string CEP { get; set; }
    public string Mensagem { get; set; }
    public string NomeProduto { get; set; }
    public string ModeloProduto { get; set; }
    public string MedidasProduto { get; set; }
    public DateTime? DataCompra { get; set; }
    public string Loja { get; set; }
    public string EnderecoLoja { get; set; }
    public string BairroLoja { get; set; }
    public string CidadeLoja { get; set; }
    public string EstadoLoja { get; set; }
    public string ReferenciaEndereco { get; set; }
    public string Fabrica { get; set; }
}

public class ExternalRegistroAtendimentoViewModel
{
    public int Id { get; set; }
    public DateTime DataAbertura { get; set; }
    public int PontoDeVendaId { get; set; }
    public string PontoDeVenda { get; set; }
    public string Fabrica { get; set; }
    public string NumeroPedido { get; set; }
    public string VendaId { get; set; }
    public string Loja { get; set; }
    public string CNPJLoja { get; set; }
    public int PerfilConsumidorId { get; set; }
    public string PerfilConsumidor { get; set; }
    public int CanalDeAtendimentoId { get; set; }
    public string CanalDeAtendimento { get; set; }
    public int ResponsavelId { get; set; }
    public string Responsavel { get; set; }
    public int AssuntoSacId { get; set; }
    public string AssuntoSac { get; set; }
    public bool TrocaValidada { get; set; }
    public DateTime? DataEnvioTroca { get; set; }
    public DateTime? DataTrocaRealizada { get; set; }
    public string ObservacaoTratativa { get; set; }
    public DateTime? DataRetorno { get; set; }
    public DateTime? DataResolucao { get; set; }
    public string Atendente { get; set; }
    public int AtendenteRegistroId { get; set; }
    public int? LojaId { get; set; }
    public bool StatusId { get; set; }
    public string Status { get; set; }
    public DateTime? DataUltimaAtualizacao { get; set; }
    public IEnumerable<ExternalInteracoesViewModel> Interacoes { get; set; }
}

public class ExternalInteracoesViewModel
{
    public int Id { get; set; }
    public DateTime DataInteracao { get; set; }
    public string ObservacaoInteracao { get; set; }
    public int AtendenteInteracaoId { get; set; }
    public string Atendente { get; set; }
    public string CPFAtendente { get; set; }
}