From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:35:25 -0300 Subject: feat: upload files --- .../ApolicePendente/ApolicePendente.cs | 244 +++ .../ApolicePendente/ContainerApolicePendente.cs | 32 + .../Model.Domain.Relatorios/Auditoria/Auditoria.cs | 221 +++ .../Model.Domain.Relatorios/CartaoSegurado.cs | 60 + .../Classificacao/Classificacao.cs | 71 + .../Cliente/SinteticoClientes.cs | 28 + .../ClientesAtivosInativos.cs | 477 ++++++ .../SinteticoClientesAtivosInativos.cs | 44 + .../Model.Domain.Relatorios/Comissao/Comissao.cs | 345 +++++ .../Comissao/SinteticoComissao.cs | 68 + .../CriticaApolice/ApoliceCritica.cs | 123 ++ .../Model.Domain.Relatorios/DadosRelatorio.cs | 312 ++++ .../Model.Domain.Relatorios/DadosVinculo.cs | 67 + .../Dashboard/Prospectar.cs | 112 ++ .../EndossoCancelamento/Endosso.cs | 323 ++++ .../Extrato/DetalhesExtrato.cs | 73 + .../Model.Domain.Relatorios/Extrato/Extrato.cs | 120 ++ .../Extrato/ExtratoComissao.cs | 37 + .../Extrato/InformacoesExtrato.cs | 93 ++ .../Extrato/SinteticoExtrato.cs | 28 + .../ExtratoBaixado/ExtratoBaixadoRelatorio.cs | 127 ++ .../FaturaPendente/FaturaPendente.cs | 189 +++ .../Fechamento/Fechamento.cs | 319 ++++ .../Fechamento/Fechamentos.cs | 31 + .../Fechamento/SinteticoFechamento.cs | 94 ++ .../Model.Domain.Relatorios/FiltroPersonalizado.cs | 66 + .../Model.Domain.Relatorios/FiltroRelatorio.cs | 54 + .../Model.Domain.Relatorios/FiltroTipoParcela.cs | 38 + Gestor.Model/Model.Domain.Relatorios/Filtros.cs | 138 ++ .../Licenciamento/Licenciamento.cs | 174 +++ Gestor.Model/Model.Domain.Relatorios/Listagem.cs | 33 + .../Log/LogAcaoRelatorio.cs | 145 ++ .../Model.Domain.Relatorios/LogsEnvio/LogsEnvio.cs | 211 +++ .../MetaSeguradora/MetaSeguradoraRelatorio.cs | 51 + .../MetaSeguradora/SinteticoMetaSeguradora.cs | 27 + .../MetaVendedor/MetaVendedorRelatorio.cs | 51 + .../MetaVendedor/SinteticoMetaVendedor.cs | 27 + .../Model.Domain.Relatorios/NegocioRelatorio.cs | 58 + .../NotaFiscal/NotaFiscalRelatorio.cs | 96 ++ .../Pagamento/AgrupamentoPagamentoSintetico.cs | 37 + .../Pagamento/AgrupamentoVendedor.cs | 113 ++ .../Model.Domain.Relatorios/Pagamento/Pagamento.cs | 38 + .../Pagamento/PagamentoSintetico.cs | 25 + .../Pagamento/SinteticoPagamento.cs | 60 + .../Model.Domain.Relatorios/ParametrosRelatorio.cs | 90 ++ .../ParametrosTotalizacao.cs | 49 + .../Model.Domain.Relatorios/Pendente/Pendente.cs | 308 ++++ .../Pendente/SinteticoPendente.cs | 52 + .../Model.Domain.Relatorios/Placa/Placas.cs | 167 ++ .../Model.Domain.Relatorios/PlanilhaCompleta.cs | 1595 ++++++++++++++++++++ .../AgrupamentoSintetico.cs | 37 + .../PrevisaoPagamentoComissao/PrevisaoPagamento.cs | 132 ++ .../PrevisaoPagamentoComissao.cs | 25 + .../PrevisaoPagamentoComissaoSintetico.cs | 25 + .../Model.Domain.Relatorios/Producao/Producao.cs | 372 +++++ .../Producao/SinteticoProducao.cs | 68 + .../Model.Domain.Relatorios/Renovacao/Renovacao.cs | 296 ++++ .../Renovacao/SinteticoRenovacao.cs | 76 + .../Model.Domain.Relatorios/Sinistro/Sinistro.cs | 359 +++++ .../Sinistro/SinteticoSinistro.cs | 68 + .../Model.Domain.Relatorios/SinteticModel.cs | 30 + .../Model.Domain.Relatorios/SinteticModelList.cs | 25 + Gestor.Model/Model.Domain.Relatorios/Sintetico.cs | 448 ++++++ .../Model.Domain.Relatorios/SinteticoFinanceiro.cs | 37 + .../Model.Domain.Relatorios/StatusRelatorio.cs | 58 + .../Model.Domain.Relatorios/Tarefa/Tarefa.cs | 160 ++ .../Model.Domain.Relatorios/TipoRelatorio.cs | 30 + .../Model.Domain.Relatorios/ValorSintetico.cs | 55 + 68 files changed, 9642 insertions(+) create mode 100644 Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ApolicePendente.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ContainerApolicePendente.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Auditoria/Auditoria.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/CartaoSegurado.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Classificacao/Classificacao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Cliente/SinteticoClientes.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Comissao/Comissao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Comissao/SinteticoComissao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/CriticaApolice/ApoliceCritica.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/DadosRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/DadosVinculo.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Dashboard/Prospectar.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/EndossoCancelamento/Endosso.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Extrato/DetalhesExtrato.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Extrato/Extrato.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Extrato/ExtratoComissao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Extrato/InformacoesExtrato.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Extrato/SinteticoExtrato.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ExtratoBaixado/ExtratoBaixadoRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/FaturaPendente/FaturaPendente.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamentos.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Fechamento/SinteticoFechamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/FiltroPersonalizado.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/FiltroRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/FiltroTipoParcela.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Filtros.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Licenciamento/Licenciamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Listagem.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Log/LogAcaoRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/LogsEnvio/LogsEnvio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/MetaSeguradoraRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/SinteticoMetaSeguradora.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/MetaVendedor/MetaVendedorRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/MetaVendedor/SinteticoMetaVendedor.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/NegocioRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/NotaFiscal/NotaFiscalRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoPagamentoSintetico.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoVendedor.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pagamento/Pagamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pagamento/PagamentoSintetico.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pagamento/SinteticoPagamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ParametrosRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ParametrosTotalizacao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pendente/Pendente.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Pendente/SinteticoPendente.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Placa/Placas.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/PlanilhaCompleta.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/AgrupamentoSintetico.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamento.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissaoSintetico.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Producao/Producao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Producao/SinteticoProducao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Renovacao/Renovacao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Renovacao/SinteticoRenovacao.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Sinistro/Sinistro.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Sinistro/SinteticoSinistro.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/SinteticModel.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/SinteticModelList.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Sintetico.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/SinteticoFinanceiro.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/StatusRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/Tarefa/Tarefa.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/TipoRelatorio.cs create mode 100644 Gestor.Model/Model.Domain.Relatorios/ValorSintetico.cs (limited to 'Gestor.Model/Model.Domain.Relatorios') diff --git a/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ApolicePendente.cs b/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ApolicePendente.cs new file mode 100644 index 0000000..76c9930 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ApolicePendente.cs @@ -0,0 +1,244 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.ApolicePendente +{ + public class ApolicePendente + { + [Description("AGÊNCIA")] + public string Agencia + { + get; + set; + } + + [Description("BANCO")] + public string Banco + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal Comissao + { + get; + set; + } + + [Description("CONTA")] + public string Conta + { + get; + set; + } + + [Description("DATA CONTROLE")] + public DateTime? DataControle + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("DOCUMENTO DO CLIENTE")] + public string DocumentoCli + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PEDIDO ENDOSSO")] + public string PedidoEndosso + { + get; + set; + } + + [Description("PENDÊNCIA (DIAS)")] + public int Pendencia + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + [Tipo("INVALID")] + public bool Vinculo + { + get; + set; + } + + public ApolicePendente() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ContainerApolicePendente.cs b/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ContainerApolicePendente.cs new file mode 100644 index 0000000..fe24dcf --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ApolicePendente/ContainerApolicePendente.cs @@ -0,0 +1,32 @@ +using Gestor.Model.Domain.Relatorios; +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.ApolicePendente +{ + public class ContainerApolicePendente + { + public string Agrupamento + { + get; + set; + } + + public ObservableCollection Analitico + { + get; + set; + } + + public ObservableCollection Sintetico + { + get; + set; + } + + public ContainerApolicePendente() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Auditoria/Auditoria.cs b/Gestor.Model/Model.Domain.Relatorios/Auditoria/Auditoria.cs new file mode 100644 index 0000000..cd00b0e --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Auditoria/Auditoria.cs @@ -0,0 +1,221 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Auditoria +{ + public class Auditoria + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal Comissao + { + get; + set; + } + + [Description("COMISSÃO PENDENTE")] + [Tipo("VALOR")] + public decimal ComissaoPendente + { + get; + set; + } + + [Description("COMISSÃO PREVISTA")] + [Tipo("VALOR")] + public decimal ComissaoPrevista + { + get; + set; + } + + [Description("COMISSÃO RECEBIDA")] + [Tipo("VALOR")] + public decimal ComissaoRecebida + { + get; + set; + } + + [Description("RECEBIDO POR COMPLETO")] + public string Completo + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PRÊMIO ADICIONAL")] + [Tipo("VALOR")] + public decimal PremioAdicional + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public Auditoria() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/CartaoSegurado.cs b/Gestor.Model/Model.Domain.Relatorios/CartaoSegurado.cs new file mode 100644 index 0000000..e0edb18 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/CartaoSegurado.cs @@ -0,0 +1,60 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class CartaoSegurado + { + public string Apolice + { + get; + set; + } + + public string Assistencia + { + get; + set; + } + + public string Item + { + get; + set; + } + + public string LinkApolice + { + get; + set; + } + + public string Nome + { + get; + set; + } + + public string Seguradora + { + get; + set; + } + + public string TelefoneCorretor + { + get; + set; + } + + public string Vigencia + { + get; + set; + } + + public CartaoSegurado() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Classificacao/Classificacao.cs b/Gestor.Model/Model.Domain.Relatorios/Classificacao/Classificacao.cs new file mode 100644 index 0000000..adc8ba7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Classificacao/Classificacao.cs @@ -0,0 +1,71 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Classificacao +{ + public class Classificacao + { + [Description("ATIVO")] + public string Ativo + { + get; + set; + } + + [Description("COMISSÃO")] + public string Comissao + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Cliente EntidadeCliente + { + get; + set; + } + + [Description("GERAL")] + public string Geral + { + get; + set; + } + + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("PREMIO LIQUIDO")] + public string Premioliquido + { + get; + set; + } + + [Description("RESULTADO")] + public string Resultado + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + public Classificacao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Cliente/SinteticoClientes.cs b/Gestor.Model/Model.Domain.Relatorios/Cliente/SinteticoClientes.cs new file mode 100644 index 0000000..a3ca90d --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Cliente/SinteticoClientes.cs @@ -0,0 +1,28 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Cliente +{ + public class SinteticoClientes + { + public string Descricao + { + get; + set; + } + + [Description("TOTAL DE CLIENTES")] + [Tipo("QUANTIDADE")] + public decimal Total + { + get; + set; + } + + public SinteticoClientes() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs b/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs new file mode 100644 index 0000000..26cf93b --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/ClientesAtivosInativos.cs @@ -0,0 +1,477 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.ClientesAtivosInativos +{ + public class ClientesAtivosInativos + { + private string _nome; + + private string _ramo; + + private string _endereco; + + private string _bairro; + + private string _complemento; + + private string _cidade; + + private string _estado; + + private string _email; + + private string _vendedor; + + [Description("ANIVERSÁRIO")] + public string Aniversario + { + get; + set; + } + + [Description("ATIVO")] + public string Ativo + { + get; + set; + } + + [Description("BAIRRO")] + public string Bairro + { + get + { + return this._bairro; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._bairro = upper; + } + } + + [Description("CEP")] + public string Cep + { + get; + set; + } + + [Description("CIDADE")] + public string Cidade + { + get + { + return this._cidade; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._cidade = upper; + } + } + + [Description("CLIENTE DESDE")] + [Tipo("DATA?")] + public DateTime? ClienteDesde + { + get; + set; + } + + [Description("COMPLEMENTO")] + public string Complemento + { + get + { + return this._complemento; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._complemento = upper; + } + } + + [Description("CPF/CNPJ")] + public string Documento + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get + { + return this._email; + } + set + { + string lower; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + lower = str.ToLower(); + } + else + { + lower = null; + } + } + else + { + lower = null; + } + this._email = lower; + } + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDEREÇO")] + public string Endereco + { + get + { + return this._endereco; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._endereco = upper; + } + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Cliente EntidadeCliente + { + get; + set; + } + + [Description("ESTADO")] + public string Estado + { + get + { + return this._estado; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._estado = upper; + } + } + + [Description("ESTADO CIVIL")] + public string EstadoCivil + { + get; + set; + } + + [Description("ESTIPULANTES")] + public string Estipulantes + { + get; + set; + } + + [Description("ID")] + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("ANOS DE IDADE")] + [Tipo("QUANTIDADE?")] + public int? Idade + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("NASCIMENTO")] + [Tipo("DATA?")] + public DateTime? Nascimento + { + get; + set; + } + + [Description("CLIENTE")] + public string Nome + { + get + { + return this._nome; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._nome = upper; + } + } + + [Description("NÚMERO")] + public string Numero + { + get; + set; + } + + [Description("PARENTESCO")] + public string Parentesco + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PROFISSÃO")] + public string Profissao + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get + { + return this._ramo; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._ramo = upper; + } + } + + [Description("RECEBER E-MAIL")] + public string RecebeEmail + { + get; + set; + } + + [Description("RENDA MENSAL")] + [Tipo("VALOR")] + public decimal RendaMensal + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("SEXO")] + public string Sexo + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Description("TIPO DE PESSOA")] + public string TipoPessoa + { + get; + set; + } + + [Description("VENCIMENTO CNH")] + [Tipo("DATA?")] + public DateTime? VencimentoCnh + { + get; + set; + } + + [Description("VENDEDOR")] + public string Vendedor + { + get + { + return this._vendedor; + } + set + { + string upper; + if (value != null) + { + string str = value.Trim(); + if (str != null) + { + upper = str.ToUpper(); + } + else + { + upper = null; + } + } + else + { + upper = null; + } + this._vendedor = upper; + } + } + + public ClientesAtivosInativos() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs b/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs new file mode 100644 index 0000000..78dabab --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ClientesAtivosInativos/SinteticoClientesAtivosInativos.cs @@ -0,0 +1,44 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.ClientesAtivosInativos +{ + public class SinteticoClientesAtivosInativos + { + [Description("TOTAL DE CLIENTES ATIVOS")] + [Tipo("QUANTIDADE")] + public decimal Ativos + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("TOTAL DE CLIENTES INATIVOS")] + [Tipo("QUANTIDADE")] + public decimal Inativos + { + get; + set; + } + + [Description("TOTAL DE CLIENTES")] + [Tipo("QUANTIDADE")] + public decimal Total + { + get; + set; + } + + public SinteticoClientesAtivosInativos() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Comissao/Comissao.cs b/Gestor.Model/Model.Domain.Relatorios/Comissao/Comissao.cs new file mode 100644 index 0000000..2c756f1 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Comissao/Comissao.cs @@ -0,0 +1,345 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Comissao +{ + public class Comissao + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO APÓLICE")] + [Tipo("PERCENTUAL")] + public decimal ComissaoApolice + { + get; + set; + } + + [Description("RECEBIMENTO BRUTO")] + [Tipo("VALOR")] + public decimal ComissaoBruta + { + get; + set; + } + + [Description("COMISSÃO PARCELA")] + [Tipo("PERCENTUAL")] + public decimal ComissaoPerc + { + get; + set; + } + + [Description("COMISSÃO RECEBIDA")] + [Tipo("VALOR")] + public decimal ComissaoRecebida + { + get; + set; + } + + [Description("DATA PARCELA CONTROLE")] + [Tipo("DATA?")] + public DateTime? Controle + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Description("DESCONTO")] + [Tipo("VALOR")] + public decimal Desconto + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + public long IdEmpresa + { + get; + set; + } + + [Description("VALOR IR")] + [Tipo("VALOR")] + public decimal Ir + { + get; + set; + } + + [Description("VALOR ISS")] + [Tipo("VALOR")] + public decimal Iss + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio + { + get; + set; + } + + [Description("OUTROS")] + [Tipo("VALOR")] + public decimal Outros + { + get; + set; + } + + [Description("PARCELA")] + public string Parcela + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Parcela ParcelaEntity + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("DATA QUITAÇÃO")] + [Tipo("DATA?")] + public DateTime? Quitacao + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("RECEBIMENTO")] + [Tipo("DATA?")] + public DateTime? Recebimento + { + get; + set; + } + + [Description("REPASSE")] + [Tipo("VALOR")] + public decimal Repasse + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("TIPO DE PARCELA")] + [Tipo("ENUM")] + public Gestor.Model.Common.SubTipo SubTipo + { + get; + set; + } + + [Description("TIPO")] + public string TipoDocumento + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal ValorComissao + { + get; + set; + } + + [Description("VALOR LÍQUIDO PARCELA")] + [Tipo("VALOR")] + public decimal ValorLiquido + { + get; + set; + } + + [Description("VALOR REALIZADO")] + [Tipo("VALOR")] + public decimal ValorRealizado + { + get; + set; + } + + [Description("VENCIMENTO")] + [Tipo("DATA")] + public DateTime Vencimento + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public Comissao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Comissao/SinteticoComissao.cs b/Gestor.Model/Model.Domain.Relatorios/Comissao/SinteticoComissao.cs new file mode 100644 index 0000000..91b39a2 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Comissao/SinteticoComissao.cs @@ -0,0 +1,68 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Comissao +{ + public class SinteticoComissao + { + [Description("QUANTIDADE DE APÓLICES")] + [Tipo("QUANTIDADE")] + public int Apolices + { + get; + set; + } + + [Description("SOMA COMISSÃO RECEBIDA")] + [Tipo("VALOR")] + public decimal Comissao + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("QUANTIDADE DE ENDOSSOS")] + [Tipo("QUANTIDADE")] + public int Endossos + { + get; + set; + } + + [Description("SOMA REPASSE")] + [Tipo("VALOR")] + public decimal Repasse + { + get; + set; + } + + [Description("TOTAL DE DOCUMENTOS")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + [Description("SOMA VALOR LÍQUIDO")] + [Tipo("VALOR")] + public decimal ValorLiquido + { + get; + set; + } + + public SinteticoComissao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/CriticaApolice/ApoliceCritica.cs b/Gestor.Model/Model.Domain.Relatorios/CriticaApolice/ApoliceCritica.cs new file mode 100644 index 0000000..07c87d7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/CriticaApolice/ApoliceCritica.cs @@ -0,0 +1,123 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.CriticaApolice +{ + public class ApoliceCritica + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.CriticaApolice Critica + { + get; + set; + } + + [Description("DATA CRÍTICA")] + [Tipo("DATA?")] + public DateTime? Criticado + { + get; + set; + } + + [Description("DATA IMPORTAÇÃO")] + [Tipo("DATA")] + public DateTime Importado + { + get; + set; + } + + [Description("PENDÊNCIA")] + public string Pendencia + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("PROPOSTA ENDOSSO")] + public string PropostaEndosso + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string Tipo + { + get; + set; + } + + [Description("USUÁRIO CRÍTICA")] + public string UsuarioCritica + { + get; + set; + } + + [Description("USUÁRIO IMPORTAÇÃO")] + public string UsuarioImportacao + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public ApoliceCritica() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/DadosRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/DadosRelatorio.cs new file mode 100644 index 0000000..693a344 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/DadosRelatorio.cs @@ -0,0 +1,312 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class DadosRelatorio + { + [Description("Nº AGÊNCIA")] + public string Agencia + { + get; + set; + } + + [Description("APÓLICE")] + [Width("150")] + public string Apolice + { + get; + set; + } + + [Description("BANCO")] + public string Banco + { + get; + set; + } + + [Description("CLIENTE")] + [Width("200")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + [Width("70")] + public decimal? Comissao + { + get; + set; + } + + [Description("% REPASSE")] + [Tipo("PERCENTUAL")] + [Width("70")] + public decimal? ComissaoRepasse + { + get; + set; + } + + [Description("Nº CONTA")] + public string Conta + { + get; + set; + } + + [Tipo("INVALID")] + public string CPFVendedor + { + get; + set; + } + + [Description("DATA DE CADASTRO DO DOCUMENTO")] + [Tipo("DATA?")] + public DateTime? DataCriacao + { + get; + set; + } + + [Description("DATA PAGAMENTO")] + [Tipo("DATA?")] + [Width("120")] + public DateTime? DataPagamento + { + get; + set; + } + + [Description("EMITIDO")] + public string DocumentoEmitido + { + get; + set; + } + + [Description("ENDOSSO")] + [Width("100")] + public string Endosso + { + get; + set; + } + + [Tipo("INVALID")] + public Adiantamento EntidadeAdiantamento + { + get; + set; + } + + [Tipo("INVALID")] + public Documento EntidadeDocumento + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Parcela EntidadeParcela + { + get; + set; + } + + [Tipo("INVALID")] + public VendedorParcela EntidadeVendedorParcela + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("HOUVE RECEBIMENTO")] + public string HouveRecebimento + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio + { + get; + set; + } + + [Description("PARCELA")] + [Width("60")] + public string Parcela + { + get; + set; + } + + [Description("PEDIDO ENDOSSO")] + public string PedidoEndosso + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR?")] + [Width("110")] + public decimal? PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR?")] + public decimal? PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("RECEBIDO POR COMPLETO")] + public string RecebidoPorCompleto + { + get; + set; + } + + [Description("RECEBIMENTO")] + [Tipo("DATA?")] + [Width("90")] + public DateTime? Recebimento + { + get; + set; + } + + [Description("REPASSE")] + [Tipo("VALOR")] + [Width("120")] + public decimal Repasse + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("VALOR LÍQUIDO")] + [Tipo("VALOR")] + [Width("110")] + public decimal ValorLiquido + { + get; + set; + } + + [Description("VALOR PARCELA")] + [Tipo("VALOR?")] + public decimal? ValorParcela + { + get; + set; + } + + [Description("VENDEDOR")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA?")] + [Width("115")] + public DateTime? VigenciaIncial + { + get; + set; + } + + public DadosRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/DadosVinculo.cs b/Gestor.Model/Model.Domain.Relatorios/DadosVinculo.cs new file mode 100644 index 0000000..db83501 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/DadosVinculo.cs @@ -0,0 +1,67 @@ +using Gestor.Model.Domain.Aggilizador; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class DadosVinculo + { + public string Apolice + { + get; + set; + } + + public string Documento + { + get; + set; + } + + public string Endosso + { + get; + set; + } + + public long Id + { + get; + set; + } + + public long IdSeguradora + { + get; + set; + } + + public string Proposta + { + get; + set; + } + + public DateTime? Vigenciafinal + { + get; + set; + } + + public DateTime VigenciaInicial + { + get; + set; + } + + public VinculoDocumento Vinculo + { + get; + set; + } + + public DadosVinculo() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Dashboard/Prospectar.cs b/Gestor.Model/Model.Domain.Relatorios/Dashboard/Prospectar.cs new file mode 100644 index 0000000..6c3059f --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Dashboard/Prospectar.cs @@ -0,0 +1,112 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Dashboard +{ + public class Prospectar + { + private string _nome; + + private string _email; + + [Description("CPF/CNPJ")] + public string Documento + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get + { + string str = this._email; + if (str == null) + { + return null; + } + return str.ToLower().Trim(); + } + set + { + this._email = value; + } + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Cliente EntidadeCliente + { + get; + set; + } + + [Description("ID")] + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("CLIENTE")] + public string Nome + { + get + { + string str = this._nome; + if (str == null) + { + return null; + } + return str.ToUpper().Trim(); + } + set + { + this._nome = value; + } + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Description("TIPO DE PESSOA")] + public string TipoPessoa + { + get; + set; + } + + public Prospectar() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/EndossoCancelamento/Endosso.cs b/Gestor.Model/Model.Domain.Relatorios/EndossoCancelamento/Endosso.cs new file mode 100644 index 0000000..c0fdadf --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/EndossoCancelamento/Endosso.cs @@ -0,0 +1,323 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.EndossoCancelamento +{ + public class Endosso + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("APÓLICE CONFERIDA")] + public string ApoliceConferida + { + get; + set; + } + + [Description("PROP. ASSINADA SIGGNER")] + public string AssinadaSiggner + { + get; + set; + } + + [Tipo("INVALID")] + public List Assinaturas + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal Comissao + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal ComissaoGerada + { + get; + set; + } + + [Description("DATA CONTROLE")] + public DateTime? DataControle + { + get; + set; + } + + [Description("DATA DE CADASTRO")] + [Tipo("DATA?")] + public DateTime? DataCriacao + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("DOCUMENTO DO CLIENTE")] + public string DocumentoCliente + { + get; + set; + } + + [Description("EMISSÃO")] + [Tipo("DATA?")] + public DateTime? Emissao + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("NEGÓCIO CORRETORA")] + public string Negocio + { + get; + set; + } + + [Description("ENDOSSO")] + public string NumEndosso + { + get; + set; + } + + [Description("QUANTIDADE PARCELAS")] + [Tipo("QUANTIDADE")] + public decimal NumeroParcelas + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROPOSTA ASSINADA")] + public string PropAssinada + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("PROPOSTA ENDOSSO")] + public string PropostaEndosso + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("TRANSMISSÃO")] + [Tipo("DATA?")] + public DateTime? Remessa + { + get; + set; + } + + [Description("REPASSE VENDEDOR")] + [Tipo("VALORDECIMAL2")] + public decimal? RepasseVendedor + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("STATUS ASSINATURA")] + [Tipo("ENUM")] + public Gestor.Model.Common.StatusAssinatura StatusAssinatura + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string TipoDocumento + { + get; + set; + } + + [Description("TIPO PAGAMENTO")] + public string TipoPagamento + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public Endosso() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Extrato/DetalhesExtrato.cs b/Gestor.Model/Model.Domain.Relatorios/Extrato/DetalhesExtrato.cs new file mode 100644 index 0000000..d59635e --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Extrato/DetalhesExtrato.cs @@ -0,0 +1,73 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Extrato +{ + public class DetalhesExtrato + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("% COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal? Comissao + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("VALOR PAGTO")] + [Tipo("VALOR")] + public decimal? Pagto + { + get; + set; + } + + [Description("PARCELA")] + public string Parcela + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("VALOR")] + public decimal? ValorComissao + { + get; + set; + } + + public DetalhesExtrato() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Extrato/Extrato.cs b/Gestor.Model/Model.Domain.Relatorios/Extrato/Extrato.cs new file mode 100644 index 0000000..5017fb7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Extrato/Extrato.cs @@ -0,0 +1,120 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Extrato +{ + public class Extrato + { + [Description("BRUTO")] + public decimal? Bruto + { + get; + set; + } + + [Description("DATA")] + public DateTime? Data + { + get; + set; + } + + [Description("DATA DE CRÉDITO")] + public DateTime? DataCredito + { + get; + set; + } + + public Gestor.Model.Domain.Common.Empresa Empresa + { + get; + set; + } + + [Description("HISTORICO")] + public string Historico + { + get; + set; + } + + [Description("ID")] + public long Id + { + get; + set; + } + + [Description("IR")] + public decimal? Ir + { + get; + set; + } + + [Description("ISS")] + public decimal? Iss + { + get; + set; + } + + [Description("LIQUIDO")] + public decimal? Liquido + { + get; + set; + } + + [Description("NUMERO")] + public string Numero + { + get; + set; + } + + [Description("OBSERVAÇÃO")] + public string Observacao + { + get; + set; + } + + [Description("OUTRO")] + public decimal? Outro + { + get; + set; + } + + public Gestor.Model.Domain.Seguros.Seguradora Seguradora + { + get; + set; + } + + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + [Tipo("ENUM")] + public StatusExtrato Status + { + get; + set; + } + + public Extrato() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Extrato/ExtratoComissao.cs b/Gestor.Model/Model.Domain.Relatorios/Extrato/ExtratoComissao.cs new file mode 100644 index 0000000..605c15d --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Extrato/ExtratoComissao.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Extrato +{ + public class ExtratoComissao + { + public ObservableCollection DetalhesExtrato + { + get; + set; + } + + public ObservableCollection InformacoesExtrato + { + get; + set; + } + + public string Seguradora + { + get; + set; + } + + public string Usuario + { + get; + set; + } + + public ExtratoComissao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Extrato/InformacoesExtrato.cs b/Gestor.Model/Model.Domain.Relatorios/Extrato/InformacoesExtrato.cs new file mode 100644 index 0000000..c7ac663 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Extrato/InformacoesExtrato.cs @@ -0,0 +1,93 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Extrato +{ + public class InformacoesExtrato + { + [Description("BRUTO")] + [Tipo("VALOR")] + public decimal Bruto + { + get; + set; + } + + [Description("DATA EXTRATO")] + [Tipo("DATA?")] + public DateTime? DataExtrato + { + get; + set; + } + + [Description("IR")] + [Tipo("VALOR")] + public decimal Ir + { + get; + set; + } + + [Description("ISS")] + [Tipo("VALOR")] + public decimal Iss + { + get; + set; + } + + [Description("LÍQUIDO")] + [Tipo("VALOR")] + public decimal Liquido + { + get; + set; + } + + [Description("NÚMERO EXTRATO")] + public string NumeroExtrato + { + get; + set; + } + + [Description("OUTROS")] + [Tipo("VALOR")] + public decimal Outros + { + get; + set; + } + + [Description("QUANTIDADE")] + [Tipo("INT")] + public int Quantidade + { + get; + set; + } + + [Description("TOTAL BAIXADO")] + [Tipo("VALOR")] + public decimal TotalBaixado + { + get; + set; + } + + [Description("TOTAL PENDENTE")] + [Tipo("VALOR")] + public decimal TotalPendente + { + get; + set; + } + + public InformacoesExtrato() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Extrato/SinteticoExtrato.cs b/Gestor.Model/Model.Domain.Relatorios/Extrato/SinteticoExtrato.cs new file mode 100644 index 0000000..b23bf99 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Extrato/SinteticoExtrato.cs @@ -0,0 +1,28 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Extrato +{ + public class SinteticoExtrato + { + public string Descricao + { + get; + set; + } + + [Description("TOTAL DE DOCUMENTOS")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + public SinteticoExtrato() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ExtratoBaixado/ExtratoBaixadoRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/ExtratoBaixado/ExtratoBaixadoRelatorio.cs new file mode 100644 index 0000000..0f72aa9 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ExtratoBaixado/ExtratoBaixadoRelatorio.cs @@ -0,0 +1,127 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.ExtratoBaixado +{ + public class ExtratoBaixadoRelatorio + { + [Description("BRUTO")] + [Tipo("VALOR")] + public decimal? Bruto + { + get; + set; + } + + [Description("DATA")] + [Tipo("DATA?")] + public DateTime? Data + { + get; + set; + } + + [Description("DATA DE CRÉDITO")] + [Tipo("DATA?")] + public DateTime? DataCredito + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Extrato Extrato + { + get; + set; + } + + [Description("HISTÓRICO")] + public string Historico + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("IR")] + [Tipo("VALOR")] + public decimal? Ir + { + get; + set; + } + + [Description("ISS")] + [Tipo("VALOR")] + public decimal? Iss + { + get; + set; + } + + [Description("LÍQUIDO")] + [Tipo("VALOR")] + public decimal? Liquido + { + get; + set; + } + + [Description("NÚMERO")] + public string Numero + { + get; + set; + } + + [Description("OBSERVAÇÃO")] + public string Observacao + { + get; + set; + } + + [Description("OUTRO")] + [Tipo("VALOR")] + public decimal? Outro + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + public ExtratoBaixadoRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/FaturaPendente/FaturaPendente.cs b/Gestor.Model/Model.Domain.Relatorios/FaturaPendente/FaturaPendente.cs new file mode 100644 index 0000000..2ca0d41 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/FaturaPendente/FaturaPendente.cs @@ -0,0 +1,189 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.FaturaPendente +{ + public class FaturaPendente + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("ULTIMA FATURA")] + public string Fatura + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Parcela Parcela + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PENDÊNCIA")] + public int Pendencia + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("VENCIMENTO")] + [Tipo("DATA?")] + public DateTime? Vencimento + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("FINAL FATURA")] + [Tipo("DATA?")] + public DateTime? VigenciaFinalFatura + { + get; + set; + } + + [Description("INICIO FATURA")] + [Tipo("DATA?")] + public DateTime? VigenciaIncialFatura + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public FaturaPendente() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamento.cs b/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamento.cs new file mode 100644 index 0000000..39e894d --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamento.cs @@ -0,0 +1,319 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Fechamento +{ + public class Fechamento + { + [Description("ANO ANTERIOR")] + [Tipo("INVALID")] + public string AnoAnterior + { + get; + set; + } + + [Description("QTD APÓLICE")] + [Tipo("QUANTIDADE")] + public int Apolice + { + get; + set; + } + + [Description("QTD APÓLICE ANTERIOR")] + [Tipo("QUANTIDADE")] + public int ApoliceAnterior + { + get; + set; + } + + [Description("COMPARATIVO QTD APÓLICE")] + public string ApoliceAnteriorComparativo + { + get; + set; + } + + [Description("QTD ENDOSSO")] + [Tipo("QUANTIDADE")] + public int Endosso + { + get; + set; + } + + [Description("QTD ENDOSSO ANTERIOR")] + [Tipo("QUANTIDADE")] + public int EndossoAnterior + { + get; + set; + } + + [Description("COMPARATIVO QTD ENDOSSO")] + public string EndossoAnteriorComparativo + { + get; + set; + } + + [Tipo("INVALID")] + public int Entidade + { + get; + set; + } + + [Description("QTD FATURA")] + [Tipo("QUANTIDADE")] + public int Fatura + { + get; + set; + } + + [Description("QTD FATURA ANTERIOR")] + [Tipo("QUANTIDADE")] + public int FaturaAnterior + { + get; + set; + } + + [Description("COMPARATIVO QTD FATURA")] + public string FaturaAnteriorComparativo + { + get; + set; + } + + [Description("MÉDIA FECHADA")] + [Tipo("PERCENTUAL")] + public decimal Fechada + { + get; + set; + } + + [Description("MÉDIA FECHADA ANTERIOR")] + [Tipo("PERCENTUAL")] + public decimal FechadaAnterior + { + get; + set; + } + + [Description("COMPARATIVO MÉDIA FECHADA")] + public string FechadaAnteriorComparativo + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal Gerada + { + get; + set; + } + + [Description("COMISSÃO GERADA ANTERIOR")] + [Tipo("VALOR")] + public decimal GeradaAnterior + { + get; + set; + } + + [Description("COMPARATIVO COMISSÃO GERADA")] + public string GeradaAnteriorComparativo + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("QTD ITENS")] + [Tipo("QUANTIDADE")] + public int Itens + { + get; + set; + } + + [Description("QTD ITENS ANTERIOR")] + [Tipo("QUANTIDADE")] + public int ItensAnterior + { + get; + set; + } + + [Description("COMPARATIVO QTD ITENS")] + public string ItensAnteriorComparativo + { + get; + set; + } + + [Description("MÉDIA MIX %")] + [Tipo("PERCENTUAL")] + public decimal Mix + { + get; + set; + } + + [Description("MÉDIA MIX % ANTERIOR")] + [Tipo("PERCENTUAL")] + public decimal MixAnterior + { + get; + set; + } + + [Description("COMPARATIVO MÉDIA MIX %")] + public string MixAnteriorComparativo + { + get; + set; + } + + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("COMISSÃO PAGA")] + [Tipo("VALOR")] + public decimal Paga + { + get; + set; + } + + [Description("COMISSÃO PAGA ANTERIOR")] + [Tipo("VALOR")] + public decimal PagaAnterior + { + get; + set; + } + + [Description("COMPARATIVO COMISSÃO PAGA")] + public string PagaAnteriorComparativo + { + get; + set; + } + + [Description("COMISSÃO PENDENTE")] + [Tipo("VALOR")] + public decimal Pendente + { + get; + set; + } + + [Description("COMISSÃO PENDENTE ANTERIOR")] + [Tipo("VALOR")] + public decimal PendenteAnterior + { + get; + set; + } + + [Description("COMPARATIVO COMISSÃO PENDENTE")] + public string PendenteAnteriorComparativo + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO ANTERIOR")] + [Tipo("VALOR")] + public decimal PremioLiquidoAnterior + { + get; + set; + } + + [Description("COMPARATIVO PRÊMIO LÍQUIDO")] + public string PremioLiquidoComparativo + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRÊMIO TOTAL ANTERIOR")] + [Tipo("VALOR")] + public decimal PremioTotalAnterior + { + get; + set; + } + + [Description("COMPARATIVO PRÊMIO TOTAL")] + public string PremioTotalComparativo + { + get; + set; + } + + [Description("COMISSÃO RECEBIDA")] + [Tipo("VALOR")] + public decimal Recebida + { + get; + set; + } + + [Description("COMISSÃO RECEBIDA ANTERIOR")] + [Tipo("VALOR")] + public decimal RecebidaAnterior + { + get; + set; + } + + [Description("COMPARATIVO COMISSÃO RECEBIDA")] + public string RecebidaAnteriorComparativo + { + get; + set; + } + + public Fechamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamentos.cs b/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamentos.cs new file mode 100644 index 0000000..d917005 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Fechamento/Fechamentos.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Fechamento +{ + public class Fechamentos + { + public bool Comparativo + { + get; + set; + } + + public ObservableCollection Fechamento + { + get; + set; + } + + public string Title + { + get; + set; + } + + public Fechamentos() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Fechamento/SinteticoFechamento.cs b/Gestor.Model/Model.Domain.Relatorios/Fechamento/SinteticoFechamento.cs new file mode 100644 index 0000000..5703d5e --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Fechamento/SinteticoFechamento.cs @@ -0,0 +1,94 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Fechamento +{ + public class SinteticoFechamento + { + [Description("QUANTIDADE APÓLICE")] + [Tipo("QUANTIDADE")] + public int Apolice + { + get; + set; + } + + [Description("QUANTIDADE ENDOSSO")] + [Tipo("QUANTIDADE")] + public int Endosso + { + get; + set; + } + + [Description("QUANTIDADE FATURA")] + [Tipo("QUANTIDADE")] + public int Fatura + { + get; + set; + } + + [Description("MÉDIA FECHADA")] + [Tipo("PERCENTUAL")] + public decimal Fechada + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal Gerada + { + get; + set; + } + + [Description("QUANTIDADE ITENS")] + [Tipo("QUANTIDADE")] + public int Itens + { + get; + set; + } + + [Description("MÉDIA MIX %")] + [Tipo("PERCENTUAL")] + public decimal Mix + { + get; + set; + } + + [Description("SOMA PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("SOMA PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("COMISSÃO RECEBIDA")] + [Tipo("VALOR")] + public decimal Recebida + { + get; + set; + } + + public SinteticoFechamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/FiltroPersonalizado.cs b/Gestor.Model/Model.Domain.Relatorios/FiltroPersonalizado.cs new file mode 100644 index 0000000..3de767e --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/FiltroPersonalizado.cs @@ -0,0 +1,66 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class FiltroPersonalizado + { + public string Descricao + { + get; + set; + } + + public bool Diferente + { + get; + set; + } + + public int Id + { + get; + set; + } + + public string Nome + { + get; + set; + } + + public string Propriedade + { + get; + set; + } + + public bool SemValor + { + get; + set; + } + + public Type Tipo + { + get; + set; + } + + public string ValorFinal + { + get; + set; + } + + public string ValorIncial + { + get; + set; + } + + public FiltroPersonalizado() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/FiltroRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/FiltroRelatorio.cs new file mode 100644 index 0000000..99b9fab --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/FiltroRelatorio.cs @@ -0,0 +1,54 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class FiltroRelatorio + { + private string _descricao; + + [Description("DESCRIÇÃO DO FILTRO")] + public string Descricao + { + get + { + return this._descricao; + } + set + { + this._descricao = value; + if (!string.IsNullOrWhiteSpace(value)) + { + this.Icone = value.Substring(0, 1); + } + } + } + + public string Icone + { + get; + set; + } + + public long Id + { + get; + set; + } + + [Description("TIPO DO FILTRO")] + [Tipo("ENUM")] + public TipoFiltroRelatorio Tipo + { + get; + set; + } + + public FiltroRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/FiltroTipoParcela.cs b/Gestor.Model/Model.Domain.Relatorios/FiltroTipoParcela.cs new file mode 100644 index 0000000..7deef39 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/FiltroTipoParcela.cs @@ -0,0 +1,38 @@ +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class FiltroTipoParcela + { + private bool _selecionado; + + public bool IsEnable { get; set; } = true; + + public bool Selecionado + { + get + { + return this._selecionado; + } + set + { + if (this.IsEnable) + { + this._selecionado = value; + } + } + } + + public SubTipo Tipo + { + get; + set; + } + + public FiltroTipoParcela() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Filtros.cs b/Gestor.Model/Model.Domain.Relatorios/Filtros.cs new file mode 100644 index 0000000..ef24f44 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Filtros.cs @@ -0,0 +1,138 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class Filtros : ICloneable + { + public List Estipulantes + { + get; + set; + } + + public string FiltrarDocumento + { + get; + set; + } + + public DateTime Fim + { + get; + set; + } + + public long IdEmpresa + { + get; + set; + } + + public DateTime Inicio + { + get; + set; + } + + public List Negocio + { + get; + set; + } + + public List ParcelasEspeciais + { + get; + set; + } + + public List Produtos + { + get; + set; + } + + public List Ramos + { + get; + set; + } + + public string Referencia + { + get; + set; + } + + public List Relatorios + { + get; + set; + } + + public List Seguradoras + { + get; + set; + } + + public List Status + { + get; + set; + } + + public List Telas + { + get; + set; + } + + public List TipoVendedor + { + get; + set; + } + + public List Usuarios + { + get; + set; + } + + public int ValorFim + { + get; + set; + } + + public int ValorInicio + { + get; + set; + } + + public List Vendedores + { + get; + set; + } + + public List VinculoVendedores + { + get; + set; + } + + public Filtros() + { + } + + public object Clone() + { + return (Filtros)this.MemberwiseClone(); + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Licenciamento/Licenciamento.cs b/Gestor.Model/Model.Domain.Relatorios/Licenciamento/Licenciamento.cs new file mode 100644 index 0000000..7343bae --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Licenciamento/Licenciamento.cs @@ -0,0 +1,174 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Licenciamento +{ + public class Licenciamento + { + private string _cliente; + + private string _email; + + [Description("CATEGORIA")] + public string Categoria + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get + { + string str = this._cliente; + if (str == null) + { + return null; + } + return str.ToUpper().Trim(); + } + set + { + this._cliente = value; + } + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get + { + string str = this._email; + if (str == null) + { + return null; + } + return str.ToLower().Trim(); + } + set + { + this._email = value; + } + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Item EntidadeItem + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Tipo("INVALID")] + public long IdCliente + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PLACA")] + public string Placa + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Tipo("INVALID")] + public string Vencimento + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + public Licenciamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Listagem.cs b/Gestor.Model/Model.Domain.Relatorios/Listagem.cs new file mode 100644 index 0000000..4386cbd --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Listagem.cs @@ -0,0 +1,33 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class Listagem + { + [Description("AGRUPAMENTO")] + public string Agrupamento + { + get; + set; + } + + public string NomeRelatorio + { + get; + set; + } + + [Description("VALOR")] + public string Valor + { + get; + set; + } + + public Listagem() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Log/LogAcaoRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/Log/LogAcaoRelatorio.cs new file mode 100644 index 0000000..70d529b --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Log/LogAcaoRelatorio.cs @@ -0,0 +1,145 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Log +{ + public class LogAcaoRelatorio + { + private string _maquina; + + private string _usuarioAgger; + + private string _usuarioMaquina; + + private string _acesso; + + [Description("ACESSO")] + public string Acesso + { + get + { + string str = this._acesso; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._acesso = value; + } + } + + [Description("DATA")] + [Tipo("DATA/TIME")] + public DateTime Data + { + get; + set; + } + + [Description("DESCRIÇÃO")] + public string Descricao + { + get; + set; + } + + [Description("CÓDIGO")] + public long EntidadeId + { + get; + set; + } + + [Description("IP")] + public string Ip + { + get; + set; + } + + [Description("MÁQUINA")] + public string Maquina + { + get + { + string str = this._maquina; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._maquina = value; + } + } + + [Tipo("INVALID")] + public RegistroAcao RegistroEntity + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("USUÁRIO AGGER")] + public string UsuarioAgger + { + get + { + string str = this._usuarioAgger; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._usuarioAgger = value; + } + } + + [Description("USUÁRIO DA MÁQUINA")] + public string UsuarioMaquina + { + get + { + string str = this._usuarioMaquina; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._usuarioMaquina = value; + } + } + + [Description("VERSÃO SISTEMA")] + public string Versao + { + get; + set; + } + + public LogAcaoRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/LogsEnvio/LogsEnvio.cs b/Gestor.Model/Model.Domain.Relatorios/LogsEnvio/LogsEnvio.cs new file mode 100644 index 0000000..d0a713f --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/LogsEnvio/LogsEnvio.cs @@ -0,0 +1,211 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.LogsEnvio +{ + public class LogsEnvio + { + private string _remetente; + + private string _destinatarios; + + private string _cco; + + private string _assunto; + + private string _maquina; + + private string _usuarioAgger; + + private string _usuarioMaquina; + + private string _tela; + + [Description("ASSUNTO")] + public string Assunto + { + get + { + string str = this._assunto; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._assunto = value; + } + } + + [Description("CCO")] + public string Cco + { + get + { + string str = this._cco; + if (str != null) + { + return str.ToLower(); + } + return null; + } + set + { + this._cco = value; + } + } + + [Description("DATA")] + [Tipo("DATA")] + public DateTime Data + { + get; + set; + } + + [Description("DESTINATÁRIOS")] + public string Destinatarios + { + get + { + string str = this._destinatarios; + if (str != null) + { + return str.ToLower(); + } + return null; + } + set + { + this._destinatarios = value; + } + } + + [Description("ID")] + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("IP")] + public string Ip + { + get; + set; + } + + [Description("MÁQUINA")] + public string Maquina + { + get + { + string str = this._maquina; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._maquina = value; + } + } + + [Description("REMETENTE")] + public string Remetente + { + get + { + string str = this._remetente; + if (str != null) + { + return str.ToLower(); + } + return null; + } + set + { + this._remetente = value; + } + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("TELA")] + public string Tela + { + get + { + string str = this._tela; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._tela = value; + } + } + + [Description("USUÁRIO AGGER")] + public string UsuarioAgger + { + get + { + string str = this._usuarioAgger; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._usuarioAgger = value; + } + } + + [Description("USUÁRIO DA MÁQUINA")] + public string UsuarioMaquina + { + get + { + string str = this._usuarioMaquina; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._usuarioMaquina = value; + } + } + + [Description("VERSÃO")] + public string Versao + { + get; + set; + } + + public LogsEnvio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/MetaSeguradoraRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/MetaSeguradoraRelatorio.cs new file mode 100644 index 0000000..e48f927 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/MetaSeguradoraRelatorio.cs @@ -0,0 +1,51 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.MetaSeguradora +{ + public class MetaSeguradoraRelatorio + { + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("META ATINGIR")] + [Tipo("VALOR")] + public decimal MetaAtingir + { + get; + set; + } + + [Description("META CUMPRIDA")] + [Tipo("VALOR")] + public decimal MetaCumprida + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + public MetaSeguradoraRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/SinteticoMetaSeguradora.cs b/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/SinteticoMetaSeguradora.cs new file mode 100644 index 0000000..c196b87 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/MetaSeguradora/SinteticoMetaSeguradora.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.MetaSeguradora +{ + public class SinteticoMetaSeguradora + { + [Description("META ATINGIR")] + public decimal MetaAtingir + { + get; + set; + } + + [Description("META CUMPRIDA")] + public decimal MetaCumprida + { + get; + set; + } + + public SinteticoMetaSeguradora() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/MetaVendedorRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/MetaVendedorRelatorio.cs new file mode 100644 index 0000000..8a6a169 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/MetaVendedorRelatorio.cs @@ -0,0 +1,51 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.MetaVendedor +{ + public class MetaVendedorRelatorio + { + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("META ATINGIR")] + [Tipo("VALOR")] + public decimal MetaAtingir + { + get; + set; + } + + [Description("META CUMPRIDA")] + [Tipo("VALOR")] + public decimal MetaCumprida + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("VENDEDOR")] + public string Vendedor + { + get; + set; + } + + public MetaVendedorRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/SinteticoMetaVendedor.cs b/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/SinteticoMetaVendedor.cs new file mode 100644 index 0000000..8a26b43 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/MetaVendedor/SinteticoMetaVendedor.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.MetaVendedor +{ + public class SinteticoMetaVendedor + { + [Description("META ATINGIR")] + public decimal MetaAtingir + { + get; + set; + } + + [Description("META CUMPRIDA")] + public decimal MetaCumprida + { + get; + set; + } + + public SinteticoMetaVendedor() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/NegocioRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/NegocioRelatorio.cs new file mode 100644 index 0000000..ebd59d3 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/NegocioRelatorio.cs @@ -0,0 +1,58 @@ +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Threading; + +namespace Gestor.Model.Domain.Relatorios +{ + public class NegocioRelatorio : INotifyPropertyChanged + { + private bool _selecionado; + + public int Id + { + get; + set; + } + + public NegocioCorretora Negocio + { + get; + set; + } + + public bool Selecionado + { + get + { + return this._selecionado; + } + set + { + if (value == this._selecionado) + { + return; + } + this._selecionado = value; + this.OnPropertyChanged("Selecionado"); + } + } + + public NegocioRelatorio() + { + } + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged; + if (propertyChangedEventHandler == null) + { + return; + } + propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName)); + } + + public event PropertyChangedEventHandler PropertyChanged; + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/NotaFiscal/NotaFiscalRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/NotaFiscal/NotaFiscalRelatorio.cs new file mode 100644 index 0000000..4868650 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/NotaFiscal/NotaFiscalRelatorio.cs @@ -0,0 +1,96 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.NotaFiscal +{ + public class NotaFiscalRelatorio + { + [Description("VALOR BRUTO")] + [Tipo("VALOR")] + public decimal Bruto + { + get; + set; + } + + [Description("CNPJ")] + public string Cnpj + { + get; + set; + } + + [Description("DATA")] + [Tipo("DATA?")] + public DateTime? Data + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("EXTRATO")] + public string Extrato + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Description("IR")] + [Tipo("VALOR")] + public decimal Ir + { + get; + set; + } + + [Description("ISS")] + [Tipo("VALOR")] + public decimal Iss + { + get; + set; + } + + [Description("VALOR LÍQUIDO")] + [Tipo("VALOR")] + public decimal Liquido + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + public NotaFiscalRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoPagamentoSintetico.cs b/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoPagamentoSintetico.cs new file mode 100644 index 0000000..49bdf53 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoPagamentoSintetico.cs @@ -0,0 +1,37 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pagamento +{ + public class AgrupamentoPagamentoSintetico + { + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("REPASSE")] + [Tipo("VALOR")] + public decimal Repasse + { + get; + set; + } + + [Description("VALOR LÍQUIDO")] + [Tipo("VALOR")] + public decimal VlrLiquido + { + get; + set; + } + + public AgrupamentoPagamentoSintetico() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoVendedor.cs b/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoVendedor.cs new file mode 100644 index 0000000..6b4a47f --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pagamento/AgrupamentoVendedor.cs @@ -0,0 +1,113 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pagamento +{ + public class AgrupamentoVendedor + { + [Description("ADIANTAMENTO LÍQUIDO")] + [Tipo("VALOR")] + public decimal Adiantamento + { + get; + set; + } + + [Description("Nº AGÊNCIA")] + public string Agencia + { + get; + set; + } + + [Description("BANCO")] + public string Banco + { + get; + set; + } + + [Description("Nº CONTA")] + public string Conta + { + get; + set; + } + + [Description("CPF")] + public string CPF + { + get; + set; + } + + [Description("ADIANTAMENTOS (+)")] + [Tipo("VALOR")] + public decimal Credito + { + get; + set; + } + + [Description("ADIANTAMENTOS (-)")] + [Tipo("VALOR")] + public decimal Debito + { + get; + set; + } + + [Description("DESCONTO")] + [Tipo("VALOR")] + public decimal Desconto + { + get; + set; + } + + [Description("ESTORNOS (-)")] + [Tipo("VALOR")] + public decimal Estorno + { + get; + set; + } + + [Description("REPASSE (+)")] + [Tipo("VALOR")] + public decimal Repasse + { + get; + set; + } + + [Description("REPASSE BRUTO")] + [Tipo("VALOR")] + public decimal RepasseBruto + { + get; + set; + } + + [Description("REPASSE LÍQUIDO")] + [Tipo("VALOR")] + public decimal ValorLiquido + { + get; + set; + } + + [Description("VENDEDOR")] + public string Vendedor + { + get; + set; + } + + public AgrupamentoVendedor() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pagamento/Pagamento.cs b/Gestor.Model/Model.Domain.Relatorios/Pagamento/Pagamento.cs new file mode 100644 index 0000000..2d8a0b3 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pagamento/Pagamento.cs @@ -0,0 +1,38 @@ +using Gestor.Model.Domain.Relatorios; +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pagamento +{ + public class Pagamento + { + public ObservableCollection Dados + { + get; + set; + } + + public ObservableCollection Sintetico + { + get; + set; + } + + public string Title + { + get; + set; + } + + public AgrupamentoVendedor Vendedores + { + get; + set; + } + + public Pagamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pagamento/PagamentoSintetico.cs b/Gestor.Model/Model.Domain.Relatorios/Pagamento/PagamentoSintetico.cs new file mode 100644 index 0000000..ef78ddc --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pagamento/PagamentoSintetico.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pagamento +{ + public class PagamentoSintetico + { + public ObservableCollection Agrupamento + { + get; + set; + } + + public string Titulo + { + get; + set; + } + + public PagamentoSintetico() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pagamento/SinteticoPagamento.cs b/Gestor.Model/Model.Domain.Relatorios/Pagamento/SinteticoPagamento.cs new file mode 100644 index 0000000..a3e3604 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pagamento/SinteticoPagamento.cs @@ -0,0 +1,60 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pagamento +{ + public class SinteticoPagamento + { + [Description("QUANTIDADE DE APÓLICES")] + [Tipo("QUANTIDADE")] + public int Apolices + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("QUANTIDADE DE ENDOSSOS")] + [Tipo("QUANTIDADE")] + public int Endossos + { + get; + set; + } + + [Description("SOMA REPASSE BRUTO")] + [Tipo("VALOR")] + public decimal RepasseBruto + { + get; + set; + } + + [Description("SOMA REPASSE LIQUIDO")] + [Tipo("VALOR")] + public decimal RepasseLiquido + { + get; + set; + } + + [Description("TOTAL DE DOCUMENTOS")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + public SinteticoPagamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ParametrosRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/ParametrosRelatorio.cs new file mode 100644 index 0000000..5cd4470 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ParametrosRelatorio.cs @@ -0,0 +1,90 @@ +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Threading; + +namespace Gestor.Model.Domain.Relatorios +{ + public class ParametrosRelatorio : INotifyPropertyChanged + { + private bool _selecionado; + + public string Campo + { + get; + set; + } + + public string Header + { + get; + set; + } + + public long Id + { + get; + set; + } + + public long IdUsuario + { + get; + set; + } + + public int Ordem + { + get; + set; + } + + public Gestor.Model.Common.Relatorio Relatorio + { + get; + set; + } + + public bool Selecionado + { + get + { + return this._selecionado; + } + set + { + this._selecionado = value; + this.OnPropertyChanged("Selecionado"); + } + } + + public string Tipo + { + get; + set; + } + + public int Width + { + get; + set; + } + + public ParametrosRelatorio() + { + } + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged; + if (propertyChangedEventHandler == null) + { + return; + } + propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName)); + } + + public event PropertyChangedEventHandler PropertyChanged; + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ParametrosTotalizacao.cs b/Gestor.Model/Model.Domain.Relatorios/ParametrosTotalizacao.cs new file mode 100644 index 0000000..b176382 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ParametrosTotalizacao.cs @@ -0,0 +1,49 @@ +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class ParametrosTotalizacao + { + public bool Ativa + { + get; + set; + } + + public string Campo + { + get; + set; + } + + public string Header + { + get; + set; + } + + public long Id + { + get; + set; + } + + public long IdUsuario + { + get; + set; + } + + public Gestor.Model.Common.Relatorio Relatorio + { + get; + set; + } + + public ParametrosTotalizacao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pendente/Pendente.cs b/Gestor.Model/Model.Domain.Relatorios/Pendente/Pendente.cs new file mode 100644 index 0000000..3e11b11 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pendente/Pendente.cs @@ -0,0 +1,308 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pendente +{ + public class Pendente + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal ComissaoGerada + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal ComissaoPerc + { + get; + set; + } + + [Description("COMISSÃO PREVISTA")] + [Tipo("VALOR")] + public decimal ComissaoPrevista + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? Controle + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("DOCUMENTO DO CLIENTE")] + public string DocumentoCliente + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("FORMA DE PAGAMENTO")] + public string FormaPagamento + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio + { + get; + set; + } + + [Tipo("INVALID")] + public Parcela ParcelaEntity + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PENDÊNCIA")] + public int Pendencia + { + get; + set; + } + + [Description("PARCELA")] + public string Pendentes + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("DATA QUITAÇÃO")] + [Tipo("DATA?")] + public DateTime? Quitacao + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("STATUS PAGAMENTO")] + public string StatusPagamento + { + get; + set; + } + + [Description("TIPO DE PARCELA")] + [Tipo("ENUM")] + public Gestor.Model.Common.SubTipo SubTipo + { + get; + set; + } + + [Description("TELEFONES")] + public string Telefones + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string TipoDocumento + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("TOTAL PREVISTO")] + [Tipo("VALOR")] + public decimal TotalPrevisto + { + get; + set; + } + + [Description("VALOR PARCELA")] + [Tipo("VALOR")] + public decimal ValorParcela + { + get; + set; + } + + [Description("VENCIMENTO")] + [Tipo("DATA")] + public DateTime Vencimento + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public Pendente() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Pendente/SinteticoPendente.cs b/Gestor.Model/Model.Domain.Relatorios/Pendente/SinteticoPendente.cs new file mode 100644 index 0000000..6017cea --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Pendente/SinteticoPendente.cs @@ -0,0 +1,52 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Pendente +{ + public class SinteticoPendente + { + [Description("QUANTIDADE DE APÓLICES")] + [Tipo("QUANTIDADE")] + public int Apolices + { + get; + set; + } + + [Description("SOMA COMISSÃO PREVISTA")] + [Tipo("VALOR")] + public decimal Comissao + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("QUANTIDADE DE ENDOSSOS")] + [Tipo("QUANTIDADE")] + public int Endossos + { + get; + set; + } + + [Description("TOTAL DE DOCUMENTOS")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + public SinteticoPendente() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Placa/Placas.cs b/Gestor.Model/Model.Domain.Relatorios/Placa/Placas.cs new file mode 100644 index 0000000..76b327c --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Placa/Placas.cs @@ -0,0 +1,167 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Placa +{ + public class Placas + { + private string _cliente; + + private string _email; + + [Description("CATEGORIA")] + public string Categoria + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get + { + string str = this._cliente; + if (str == null) + { + return null; + } + return str.ToUpper().Trim(); + } + set + { + this._cliente = value; + } + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get + { + string str = this._email; + if (str == null) + { + return null; + } + return str.ToLower().Trim(); + } + set + { + this._email = value; + } + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Item EntidadeItem + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Tipo("INVALID")] + public long IdCliente + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PLACA")] + public string Placa + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + public Placas() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/PlanilhaCompleta.cs b/Gestor.Model/Model.Domain.Relatorios/PlanilhaCompleta.cs new file mode 100644 index 0000000..8d79dd3 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/PlanilhaCompleta.cs @@ -0,0 +1,1595 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class PlanilhaCompleta + { + [Description("COMISSÃO ADICIONAL")] + public bool AdicionalComiss + { + get; + set; + } + + [Description("AGÊNCIA")] + public string AgenciaCliente + { + get; + set; + } + + [Description("AGÊNCIA DO CONTATO")] + public string AgenciaContato + { + get; + set; + } + + [Description("AGENDAMENTO DA TAREFA")] + public DateTime? AgendamentoTarefa + { + get; + set; + } + + [Description("ANO DE FABRICAÇÃO")] + public string AnoFab + { + get; + set; + } + + [Description("ANO DE FABRICAÇÃO")] + public int? AnoFabAero + { + get; + set; + } + + [Description("ANO DO MODELO")] + public string AnoMod + { + get; + set; + } + + [Description("ACIDENTES PASSAGEIRO FRANQUIA")] + public decimal? AppFranquia + { + get; + set; + } + + [Description("ACIDENTES PASSAGEIRO LMI")] + public decimal? AppLmi + { + get; + set; + } + + [Description("ACIDENTES PASSAGEIRO PREMIO")] + public decimal? AppPremios + { + get; + set; + } + + [Description("ÁREA")] + public string AreaGranizo + { + get; + set; + } + + [Description("ÁREA")] + public string AreaRiscos + { + get; + set; + } + + [Description("ATIVIDADE")] + public string AtividadeCliente + { + get; + set; + } + + [Description("BAIRRO")] + public string Bairro + { + get; + set; + } + + [Description("BAIRRO DO ITEM")] + public string BairroItem + { + get; + set; + } + + [Description("BANCO")] + public string BancoCliente + { + get; + set; + } + + [Description("BANCO DO CONTATO")] + public string BancoContato + { + get; + set; + } + + [Description("BENS/CONSORCIO")] + public string BensConsorcio + { + get; + set; + } + + [Description("BENS DO ITEM")] + public string BensPatrimonial + { + get; + set; + } + + [Description("BÔNUS")] + public decimal? Bonus + { + get; + set; + } + + [Description("CAPACIDADE")] + public string Capacidade + { + get; + set; + } + + [Description("CAPITAL FUNCIONÁRIOS")] + public decimal? CapitalFuncionariosVida + { + get; + set; + } + + [Description("CAPITAL SÓCIO")] + public decimal? CapitalSociosVida + { + get; + set; + } + + [Description("CARRO RESERVA FRANQUIA")] + public decimal? CarroReservaFranquia + { + get; + set; + } + + [Description("CARRO RESERVA LMI")] + public decimal? CarroReservaLmi + { + get; + set; + } + + [Description("CARRO RESERVA OBS")] + public string CarroReservaObs + { + get; + set; + } + + [Description("CARRO RESERVA PREMIO")] + public decimal? CarroReservaPremios + { + get; + set; + } + + [Description("CASCO")] + public string CascoAero + { + get; + set; + } + + [Description("CATEGORIA")] + public string Categoria + { + get; + set; + } + + [Description("CATEGORIA DA HABILITAÇÃO")] + public string CategoriaHabilitacaoCliente + { + get; + set; + } + + [Description("C.E.I.")] + public string CeiCliente + { + get; + set; + } + + [Description("CEP")] + public string Cep + { + get; + set; + } + + [Description("CEP CIRCULAÇÃO PERFIL")] + public string CEPCirculacaoPerfil + { + get; + set; + } + + [Description("CEP DO ITEM")] + public string CepItem + { + get; + set; + } + + [Description("CEP PERNOITE")] + public string CepPernoite + { + get; + set; + } + + [Description("CEP PERNOITE PERFIL")] + public string CEPPernoitePerfil + { + get; + set; + } + + [Description("CERTIFICADO")] + public string CertificadoAero + { + get; + set; + } + + [Description("CHASSI")] + public string Chassi + { + get; + set; + } + + [Description("CI")] + public string Ci + { + get; + set; + } + + [Description("CIDADE")] + public string Cidade + { + get; + set; + } + + [Description("CIDADE DO ITEM")] + public string CidadeItem + { + get; + set; + } + + [Description("CLIENTE DESDE")] + public DateTime? ClienteDesde + { + get; + set; + } + + [Description("CÓDIGO FIPE")] + public string CodFipe + { + get; + set; + } + + [Description("COMBUSTÍVEL")] + public string Combustivel + { + get; + set; + } + + [Description("COMISSÃO")] + public decimal? Comissao + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + public decimal? ComissaoGerada + { + get; + set; + } + + [Description("COMPLEMENTO")] + public string Complemento + { + get; + set; + } + + [Description("COMPLEMENTO DO ITEM")] + public string ComplementoItem + { + get; + set; + } + + [Description("CONTA")] + public string ContaCliente + { + get; + set; + } + + [Description("CONTA DO CONTATO")] + public string ContaContato + { + get; + set; + } + + [Description("CONTATO DO ITEM")] + public string ContatoPatrimonial + { + get; + set; + } + + [Description("COR")] + public string Cor + { + get; + set; + } + + [Description("CORREÇÃO")] + public string Correcao + { + get; + set; + } + + [Description("COTA")] + public string Cota + { + get; + set; + } + + [Description("CPF PERFIL")] + public string CpfPerfil + { + get; + set; + } + + [Description("CULTURA DO GRANIZO")] + public string CulturaGranizo + { + get; + set; + } + + [Description("DANOS CORPORAIS FRANQUIA")] + public decimal? DanosCorporaisFranquia + { + get; + set; + } + + [Description("DANOS CORPORAIS LMI")] + public decimal? DanosCorporaisLmi + { + get; + set; + } + + [Description("DANOS CORPORAIS PREMIO")] + public decimal? DanosCorporaisPremios + { + get; + set; + } + + [Description("DANOS MATERIAIS FRANQUIA")] + public decimal? DanosMateriasFranquia + { + get; + set; + } + + [Description("DANOS MATERIAIS LMI")] + public decimal? DanosMateriasLmi + { + get; + set; + } + + [Description("DANOS MATERIAIS PREMIO")] + public decimal? DanosMateriasPremios + { + get; + set; + } + + [Description("DANOS MORAIS FRANQUIA")] + public decimal? DanosMoraisFranquia + { + get; + set; + } + + [Description("DANOS MORAIS LMI")] + public decimal? DanosMoraisLmi + { + get; + set; + } + + [Description("DANOS MORAIS PREMIO")] + public decimal? DanosMoraisPremios + { + get; + set; + } + + [Description("DATA CONTROLE")] + public DateTime? DataControle + { + get; + set; + } + + [Description("DATA LIQUIDAÇÃO")] + public DateTime? DataLiquidacao + { + get; + set; + } + + [Description("DATA RECLAMAÇÃO")] + public DateTime? DataReclamacao + { + get; + set; + } + + [Description("DATA DO SINISTRO")] + public DateTime? DataSinistro + { + get; + set; + } + + [Description("DDD 2 PRIMEIRO LOCATÁRIO")] + public string Ddd2Locatario + { + get; + set; + } + + [Description("DDD PRIMEIRO LOCATÁRIO")] + public string DddLocatario + { + get; + set; + } + + [Description("DDD SEGUNDO LOCATÁRIO")] + public string DddLocatario2 + { + get; + set; + } + + [Description("DDD TERCEIRO LOCATÁRIO")] + public string DddLocatario3 + { + get; + set; + } + + [Description("DESCRIÇÃO DO ITEM")] + public string DescricaoItem + { + get; + set; + } + + [Description("DESCRIÇÃO DO SINISTRO")] + public string DescricaoSinistro + { + get; + set; + } + + [Description("DESCRIÇÃO DA TAREFA")] + public string DescricaoTarefa + { + get; + set; + } + + [Description("DOCUMENTO PRINCIPAL")] + public string DocumentoCliente + { + get; + set; + } + + [Description("DOCUMENTO DO CONTATO")] + public string DocumentoContato + { + get; + set; + } + + [Description("DOCUMENTO PRIMEIRO LOCATÁRIO")] + public string DocumentoLocatario + { + get; + set; + } + + [Description("DOCUMENTO SEGUNDO LOCATÁRIO")] + public string DocumentoLocatario2 + { + get; + set; + } + + [Description("DOCUMENTO TERCEIRO LOCATÁRIO")] + public string DocumentoLocatario3 + { + get; + set; + } + + [Description("DOCUMENTO SINISTRADO")] + public string DocumentoSinistrado + { + get; + set; + } + + [Description("E-MAIL1")] + public string Email1 + { + get; + set; + } + + [Description("E-MAIL2")] + public string Email2 + { + get; + set; + } + + [Description("E-MAIL DO CONTATO")] + public string EmailContato + { + get; + set; + } + + [Description("EMISSÃO")] + public DateTime? Emissao + { + get; + set; + } + + [Description("EMISSOR")] + public string EmissorCliente + { + get; + set; + } + + [Description("ENDEREÇO")] + public string Endereco + { + get; + set; + } + + [Description("ENDEREÇO DO ITEM")] + public string EnderecoItem + { + get; + set; + } + + [Description("ESTADO")] + public string Estado + { + get; + set; + } + + [Description("ESTADO CIVIL")] + public string EstadoCivilCliente + { + get; + set; + } + + [Description("ESTADO CIVIL PERFIL")] + public string EstadoCivilPerfil + { + get; + set; + } + + [Description("ESTADO EMISSOR")] + public string EstadoEmissorCliente + { + get; + set; + } + + [Description("ESTIPULANTE 1 DOCUMENTO")] + public string Estipulante + { + get; + set; + } + + [Description("ESTIPULANTE 2 DOCUMENTO")] + public string Estipulante2 + { + get; + set; + } + + [Description("ESTIPULANTE 3 DOCUMENTO")] + public string Estipulante3 + { + get; + set; + } + + [Description("ESTIPULANTE 4 DOCUMENTO")] + public string Estipulante4 + { + get; + set; + } + + [Description("ESTIPULANTE 5 DOCUMENTO")] + public string Estipulante5 + { + get; + set; + } + + [Description("EXPEDIÇÃO")] + public DateTime? ExpedicaoCliente + { + get; + set; + } + + [Description("EXPEDIÇÃO DO CONTATO")] + public DateTime? ExpedicaoContato + { + get; + set; + } + + [Description("FABRICANTE")] + public string Fabricante + { + get; + set; + } + + [Description("FABRICANTE AERONÁUTICO")] + public string FabricanteAero + { + get; + set; + } + + [Description("FALECIDO")] + public string FalecidoCliente + { + get; + set; + } + + [Description("FINANCIADO")] + public string Financiado + { + get; + set; + } + + [Description("FORMA DE PAGAMENTO")] + public string FormaPagamento + { + get; + set; + } + + [Description("FROTA")] + public string Frota + { + get; + set; + } + + [Description("FUNCIONÁRIOS")] + public int? FuncionariosVida + { + get; + set; + } + + [Description("GRUPO")] + public string Grupo + { + get; + set; + } + + [Description("HIBILITAÇÃO")] + public string HabilitacaoCliente + { + get; + set; + } + + [Description("HABILITAÇÃO DO CONTATO")] + public string HabilitacaoContato + { + get; + set; + } + + [Description("CÓDIGO DOCUMENTO")] + public long IdDocumento + { + get; + set; + } + + [Description("IDENTIDADE")] + public string IdentidadeCliente + { + get; + set; + } + + [Description("IDENTIDADE DO CONTATO")] + public string IdentidadeContato + { + get; + set; + } + + [Description("IMOBILIÁRIA DO ITEM")] + public string ImobiliariaPatrimonial + { + get; + set; + } + + [Description("IOF")] + public decimal? Iof + { + get; + set; + } + + [Description("INSENÇÃO")] + public string Isencao + { + get; + set; + } + + [Description("LÍQUIDO FATURA")] + public decimal? LiquidoFatura + { + get; + set; + } + + [Description("PRIMEIRO LOCATÁRIO")] + public string Locatario + { + get; + set; + } + + [Description("SEGUNDO LOCATÁRIO")] + public string Locatario2 + { + get; + set; + } + + [Description("TERCEIRO LOCATÁRIO")] + public string Locatario3 + { + get; + set; + } + + [Description("MARINA AÉREO")] + public string MarinaAero + { + get; + set; + } + + [Description("MODELO")] + public string Modelo + { + get; + set; + } + + [Description("MODELO")] + public string ModeloAero + { + get; + set; + } + + [Description("MOTIVO DO SINISTRO")] + public string MotivoSinistro + { + get; + set; + } + + [Description("NASCIMENTO")] + public DateTime? NascimentoCliente + { + get; + set; + } + + [Description("NASCIMENTO DO CONTATO")] + public DateTime? NascimentoContato + { + get; + set; + } + + [Description("NASCIMENTO PERFIL")] + public DateTime? NascimentoPerfil + { + get; + set; + } + + [Description("NAVEGAÇÃO")] + public string NavegacaoAero + { + get; + set; + } + + [Description("NEGÓCIO CORRETORA")] + public string Negocio + { + get; + set; + } + + [Description("NOME PREFIXO")] + public string NomeAero + { + get; + set; + } + + [Description("NOME DO CLIENTE")] + public string NomeCliente + { + get; + set; + } + + [Description("NOME DO CONTATO")] + public string NomeContato + { + get; + set; + } + + [Description("NOME PERFIL")] + public string NomePerfil + { + get; + set; + } + + [Description("NÚMERO")] + public string Numero + { + get; + set; + } + + [Description("APÓLICE")] + public string NumeroApolice + { + get; + set; + } + + [Description("ENDOSSO")] + public string NumeroEndosso + { + get; + set; + } + + [Description("NÚMERO DO ITEM")] + public string NumeroItem + { + get; + set; + } + + [Description("PEDIDO ENDOSSO")] + public string NumeroPedidoEndosso + { + get; + set; + } + + [Description("PROPOSTA")] + public string NumeroProposta + { + get; + set; + } + + [Description("NÚMERO DO SINISTRO")] + public string NumeroSinistro + { + get; + set; + } + + [Description("NÚMERO DE PARCELAS")] + public int? NumParcelas + { + get; + set; + } + + [Description("OBSERVAÇÃO DO AERO")] + public string ObsAero + { + get; + set; + } + + [Description("OBSERVAÇÃO DO AUTO")] + public string ObsAuto + { + get; + set; + } + + [Description("OBSERVAÇÃO")] + public string ObservacaoCliente + { + get; + set; + } + + [Description("OBSERVAÇÃO DOCUMENTO")] + public string ObservacaoDocumento + { + get; + set; + } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsGranizo + { + get; + set; + } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsItem + { + get; + set; + } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsPatrimonial + { + get; + set; + } + + [Description("OBSERVAÇÕES DA PROSPECÇÃO")] + public string ObsProspeccao + { + get; + set; + } + + [Description("OBSERVAÇÃO RISCOS DIVERSOS")] + public string ObsRiscos + { + get; + set; + } + + [Description("OBSERVAÇÃO DO SINISTRO")] + public string ObsSinistro + { + get; + set; + } + + [Description("OBSERVAÇÃO DE VIDA")] + public string ObsVida + { + get; + set; + } + + [Description("PARENTESCO")] + public string Parentesco + { + get; + set; + } + + [Description("PASSAGEIROS")] + public int? PassageirosAero + { + get; + set; + } + + [Description("PASTA")] + public string PastaCliente + { + get; + set; + } + + [Description("PCD")] + public string Pcd + { + get; + set; + } + + [Description("PESO")] + public decimal? PesoAero + { + get; + set; + } + + [Description("PLACA")] + public string Placa + { + get; + set; + } + + [Description("PLANO")] + public string PlanoVida + { + get; + set; + } + + [Description("PORCENTAGEM DE REFERÊNCIA")] + public decimal? PorcRef + { + get; + set; + } + + [Description("PORTAS")] + public string Portas + { + get; + set; + } + + [Description("PREFIXO1")] + public string Prefixo1 + { + get; + set; + } + + [Description("PREFIXO2")] + public string Prefixo2 + { + get; + set; + } + + [Description("PREFIXO3")] + public string Prefixo3 + { + get; + set; + } + + [Description("PREFIXO DO CONTATO")] + public string PrefixoContato + { + get; + set; + } + + [Description("PRÊMIO ADICIONAL")] + public decimal? PremioAdicional + { + get; + set; + } + + [Description("PRÊMIO CUSTO")] + public decimal? PremioCusto + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + public decimal? PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + public decimal? PremioTotal + { + get; + set; + } + + [Description("PRIMEIRA HABILITAÇÃO")] + public DateTime? PrimeiraHabilitacaoCliente + { + get; + set; + } + + [Description("PRIMEIRA HABILITAÇÃO DO CONTATO")] + public DateTime? PrimeiraHabilitacaoContato + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROFISSÃO")] + public string ProfissaoCliente + { + get; + set; + } + + [Description("QUANTIDADE DE ENDOSSOS")] + public int QtdeEndosso + { + get; + set; + } + + [Description("QUANTIDADE DE SINISTROS")] + public int QtdeSinistro + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("REGIÃO DE CIRCULAÇÃO")] + public string RegCirc + { + get; + set; + } + + [Description("TRANSMISSÃO")] + public DateTime? Remessa + { + get; + set; + } + + [Description("RENAVAM")] + public string Renavam + { + get; + set; + } + + [Description("R.N.E.")] + public string RneCliente + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Description("SEGURADORA ANTERIOR")] + public string SeguradoraAnterior + { + get; + set; + } + + [Description("SÉRIE DE REGISTRO")] + public string SerieAero + { + get; + set; + } + + [Description("SEXO")] + public string SexoCliente + { + get; + set; + } + + [Description("SEXO PERFIL")] + public string SexoPerfil + { + get; + set; + } + + [Description("ITEM SINISTRADO")] + public string SinistradoItem + { + get; + set; + } + + [Description("SÍTIO DO GRANIZO")] + public string SitioGranizo + { + get; + set; + } + + [Description("SÓCIOS")] + public int? SociosVida + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS DO ITEM")] + public string StatusItem + { + get; + set; + } + + [Description("SUBSÍDIO ESTADUAL DO GRANIZO")] + public decimal? SubEstGranizo + { + get; + set; + } + + [Description("SUBSÍDIO ESTADUAL RISCOS DIVERSOS")] + public decimal? SubEstRiscos + { + get; + set; + } + + [Description("SUBSÍDIO FEDERAL DO GRANIZO")] + public decimal? SubFedGranizo + { + get; + set; + } + + [Description("SUBSÍDIO FEDERAL RISCOS DIVERSOS")] + public decimal? SubFedRiscos + { + get; + set; + } + + [Description("TABELA DE REFERÊNCIA")] + public string TabelaRef + { + get; + set; + } + + [Description("TELEFONE1")] + public string Telefone1 + { + get; + set; + } + + [Description("TELEFONE2")] + public string Telefone2 + { + get; + set; + } + + [Description("TELEFONE 2 PRIMEIRO LOCATÁRIO")] + public string Telefone2Locatario + { + get; + set; + } + + [Description("TELEFONE3")] + public string Telefone3 + { + get; + set; + } + + [Description("TELEFONE DO CONTATO")] + public string TelefoneContato + { + get; + set; + } + + [Description("TELEFONE PRIMEIRO LOCATÁRIO")] + public string TelefoneLocatario + { + get; + set; + } + + [Description("TELEFONE SEGUNDO LOCATÁRIO")] + public string TelefoneLocatario2 + { + get; + set; + } + + [Description("TELEFONE TERCEIRO LOCATÁRIO")] + public string TelefoneLocatario3 + { + get; + set; + } + + [Description("TIPO DA PROSPECÇÃO")] + public string TipoProspeccao + { + get; + set; + } + + [Description("TIPO DO RECEBIMENTO")] + public string TipoRecebimento + { + get; + set; + } + + [Description("TIPO DE RESIDÊNCIA DO ITEM")] + public string TipoResidenciaPatrimonial + { + get; + set; + } + + [Description("TITULO DA TAREFA")] + public string TituloTarefa + { + get; + set; + } + + [Description("TOTAL FATURA")] + public decimal? TotalFatura + { + get; + set; + } + + [Description("TRIPULANTES")] + public int? TripulantesAero + { + get; + set; + } + + [Description("UF DO ITEM")] + public string UfItem + { + get; + set; + } + + [Description("VALOR CRÉDITO")] + public decimal? ValorCredito + { + get; + set; + } + + [Description("VALOR DETERMINADO")] + public decimal? ValorDeterminado + { + get; + set; + } + + [Description("FRANQUIA DA APÓLICE")] + public decimal? ValorFranquiaApolice + { + get; + set; + } + + [Description("VALOR FRANQUIA")] + public decimal? ValorFranquiaSinistro + { + get; + set; + } + + [Description("VALOR LIBERADO")] + public decimal? ValorLiberado + { + get; + set; + } + + [Description("VALOR ORÇADO")] + public decimal? ValorOrcado + { + get; + set; + } + + [Description("VALOR PAGO")] + public decimal? ValorPago + { + get; + set; + } + + [Description("VALOR PARCELAS")] + public decimal? ValorParcela + { + get; + set; + } + + [Description("VALOR SALVO")] + public decimal? ValorSalvo + { + get; + set; + } + + [Description("VALOR DO SINISTRO")] + public decimal? ValorSinistro + { + get; + set; + } + + [Description("VENCIMENTO DA HABILITAÇÃO")] + public DateTime? VencimentoHabilitacaoCliente + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + public DateTime? VigenciaInicial + { + get; + set; + } + + [Description("VISTORIA")] + public DateTime? VistoriaAero + { + get; + set; + } + + [Description("ZERO KM")] + public string ZeroKm + { + get; + set; + } + + public PlanilhaCompleta() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/AgrupamentoSintetico.cs b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/AgrupamentoSintetico.cs new file mode 100644 index 0000000..2ca7a64 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/AgrupamentoSintetico.cs @@ -0,0 +1,37 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.PrevisaoPagamentoComissao +{ + public class AgrupamentoSintetico + { + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("PREVISÃO LÍQUIDA")] + [Tipo("VALOR")] + public decimal PrevisaoLiquida + { + get; + set; + } + + [Description("PREVISÃO DE PAGAMENTO")] + [Tipo("VALOR")] + public decimal PrevisaoPagamento + { + get; + set; + } + + public AgrupamentoSintetico() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamento.cs b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamento.cs new file mode 100644 index 0000000..f811010 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamento.cs @@ -0,0 +1,132 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.PrevisaoPagamentoComissao +{ + public class PrevisaoPagamento + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("RAMO")] + public string NomeRamo + { + get; + set; + } + + [Description("SEGURADORA")] + public string NomeSeguradora + { + get; + set; + } + + [Description("PARCELA")] + public string Parcela + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Tipo("INVALID")] + public string Ramo + { + get; + set; + } + + [Description("REPASSE")] + [Tipo("VALOR")] + public decimal Repasse + { + get; + set; + } + + [Description("REPASSE LÍQUIDO")] + [Tipo("VALOR")] + public decimal RepasseLiquido + { + get; + set; + } + + [Tipo("INVALID")] + public string Seguradora + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string TipoDocumento + { + get; + set; + } + + [Description("VENCIMENTO PARCELA")] + [Tipo("DATA")] + public DateTime VencimentoParcela + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Vendedor Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public PrevisaoPagamento() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissao.cs b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissao.cs new file mode 100644 index 0000000..af70774 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissao.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.PrevisaoPagamentoComissao +{ + public class PrevisaoPagamentoComissao + { + public ObservableCollection PrevisaoPagamento + { + get; + set; + } + + public string Vendedor + { + get; + set; + } + + public PrevisaoPagamentoComissao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissaoSintetico.cs b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissaoSintetico.cs new file mode 100644 index 0000000..823aa88 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/PrevisaoPagamentoComissao/PrevisaoPagamentoComissaoSintetico.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.PrevisaoPagamentoComissao +{ + public class PrevisaoPagamentoComissaoSintetico + { + public ObservableCollection Agrupamento + { + get; + set; + } + + public string Titulo + { + get; + set; + } + + public PrevisaoPagamentoComissaoSintetico() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Producao/Producao.cs b/Gestor.Model/Model.Domain.Relatorios/Producao/Producao.cs new file mode 100644 index 0000000..9202bb8 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Producao/Producao.cs @@ -0,0 +1,372 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Producao +{ + public class Producao + { + [Description("AGÊNCIA")] + public string Agencia + { + get; + set; + } + + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("APÓLICE CONFERIDA")] + public string ApoliceConferida + { + get; + set; + } + + [Description("PROP. ASSINADA SIGGNER")] + public string AssinadaSiggner + { + get; + set; + } + + [Tipo("INVALID")] + public List Assinaturas + { + get; + set; + } + + [Description("BANCO")] + public string Banco + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal Comissao + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal ComissaoGerada + { + get; + set; + } + + [Description("CONTA")] + public string Conta + { + get; + set; + } + + [Description("DATA CONTROLE")] + public DateTime? DataControle + { + get; + set; + } + + [Description("DATA DE CADASTRO")] + [Tipo("DATA?")] + public DateTime? DataCriacao + { + get; + set; + } + + [Description("TIPO VENDEDORES")] + public string DescricaoTipoVendedor + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("DOCUMENTO DO CLIENTE")] + public string DocumentoCliente + { + get; + set; + } + + [Description("EMAILS")] + public string Emails + { + get; + set; + } + + [Description("EMISSÃO")] + [Tipo("DATA?")] + public DateTime? Emissao + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("NEGÓCIO CORRETORA")] + public string Negocio + { + get; + set; + } + + [Description("QUANTIDADE PARCELAS")] + [Tipo("QUANTIDADE")] + public decimal NumeroParcelas + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Description("PROPOSTA ASSINADA")] + public string PropAssinada + { + get; + set; + } + + [Description("PROPOSTA")] + public string Proposta + { + get; + set; + } + + [Description("PROPOSTA ENDOSSO")] + public string PropostaEndosso + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("TRANSMISSÃO")] + [Tipo("DATA?")] + public DateTime? Remessa + { + get; + set; + } + + [Description("REPASSE VENDEDOR")] + [Tipo("VALORDECIMAL2")] + public decimal? RepasseVendedor + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("STATUS ASSINATURA")] + [Tipo("ENUM")] + public Gestor.Model.Common.StatusAssinatura StatusAssinatura + { + get; + set; + } + + [Description("TELEFONES")] + public string Telefones + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string TipoDocumento + { + get; + set; + } + + [Description("TIPO PAGAMENTO")] + public string TipoPagamento + { + get; + set; + } + + [Description("TIPO PESSOA")] + public string TipoPessoa + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA")] + public DateTime VigenciaInicial + { + get; + set; + } + + public Producao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Producao/SinteticoProducao.cs b/Gestor.Model/Model.Domain.Relatorios/Producao/SinteticoProducao.cs new file mode 100644 index 0000000..534ddc0 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Producao/SinteticoProducao.cs @@ -0,0 +1,68 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Producao +{ + public class SinteticoProducao + { + [Description("QUANTIDADE DE APÓLICES")] + [Tipo("QUANTIDADE")] + public int Apolices + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("QUANTIDADE DE ENDOSSOS")] + [Tipo("QUANTIDADE")] + public int Endossos + { + get; + set; + } + + [Description("MÉDIA DE COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal MediaComissao + { + get; + set; + } + + [Description("SOMA PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("SOMA PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("TOTAL DE DOCUMENTOS")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + public SinteticoProducao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Renovacao/Renovacao.cs b/Gestor.Model/Model.Domain.Relatorios/Renovacao/Renovacao.cs new file mode 100644 index 0000000..2c2c547 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Renovacao/Renovacao.cs @@ -0,0 +1,296 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Aggilizador; +using Gestor.Model.Domain.Seguros; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Renovacao +{ + public class Renovacao + { + [Description("AGÊNCIA")] + public string Agencia + { + get; + set; + } + + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("BANCO")] + public string Banco + { + get; + set; + } + + [Tipo("INVALID")] + public List Calculos + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get; + set; + } + + [Description("COMISSÃO")] + [Tipo("PERCENTUAL")] + public decimal Comissao + { + get; + set; + } + + [Description("COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal ComissaoGerada + { + get; + set; + } + + [Description("CONTA")] + public string Conta + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("DOCUMENTO DO CLIENTE")] + public string DocumentoCliente + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal PremioLiquido + { + get; + set; + } + + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal PremioTotal + { + get; + set; + } + + [Description("PRODUTO")] + public string Produto + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Prospeccao Prospeccao + { + get; + set; + } + + [Description("SINISTROS ITENS ATIVOS")] + [Tipo("INT")] + public int QtdSinistro + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("SINISTRO")] + public string Sinistro + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Tipo("INVALID")] + public int Tipo + { + get; + set; + } + + [Description("TIPO DOCUMENTO")] + public string TipoDocumento + { + get; + set; + } + + [Description("TIPO PAGAMENTO")] + public string TipoPagamento + { + get; + set; + } + + [Description("TIPO DE PESSOA")] + public string TipoPessoa + { + get; + set; + } + + [Description("TODOS VENDEDORES")] + public string TodosVendedores + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + public Renovacao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Renovacao/SinteticoRenovacao.cs b/Gestor.Model/Model.Domain.Relatorios/Renovacao/SinteticoRenovacao.cs new file mode 100644 index 0000000..c2c3cb7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Renovacao/SinteticoRenovacao.cs @@ -0,0 +1,76 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Renovacao +{ + public class SinteticoRenovacao + { + [Description("CANCELADOS")] + [Tipo("QUANTIDADE")] + public int Cancelados + { + get; + set; + } + + public string Descricao + { + get; + set; + } + + [Description("NÃO TRABALHADOS")] + [Tipo("QUANTIDADE")] + public int NaoTrabalhados + { + get; + set; + } + + [Description("PERDIDOS")] + [Tipo("QUANTIDADE")] + public int Perdidos + { + get; + set; + } + + [Description("REABILITADOS")] + [Tipo("QUANTIDADE")] + public int Reabilitados + { + get; + set; + } + + [Description("RECUSADOS")] + [Tipo("QUANTIDADE")] + public int Recusados + { + get; + set; + } + + [Description("RENOVADOS")] + [Tipo("QUANTIDADE")] + public int Renovados + { + get; + set; + } + + [Description("TOTAL DE RENOVAÇÕES")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + public SinteticoRenovacao() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Sinistro/Sinistro.cs b/Gestor.Model/Model.Domain.Relatorios/Sinistro/Sinistro.cs new file mode 100644 index 0000000..67f9c76 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Sinistro/Sinistro.cs @@ -0,0 +1,359 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Seguros; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Sinistro +{ + public class Sinistro + { + [Description("APÓLICE")] + public string Apolice + { + get; + set; + } + + [Description("AUXILIAR")] + public string Auxiliar + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Cliente Cliente + { + get; + set; + } + + [Description("CPF/CNPJ")] + public string CpfCnpj + { + get; + set; + } + + [Description("DATA ALTERAÇÃO")] + public DateTime? DataAlteracao + { + get; + set; + } + + [Description("DATA CONTROLE")] + [Tipo("DATA?")] + public DateTime? DataControle + { + get; + set; + } + + [Description("DATA CRIAÇÃO")] + public DateTime? DataCriacao + { + get; + set; + } + + [Description("DATA OCORRÊNCIA")] + [Tipo("DATA/TIME")] + public DateTime DataSinistro + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Documento Documento + { + get; + set; + } + + [Description("E-MAIL")] + public string Email + { + get; + set; + } + + [Description("FILIAL")] + public string Empresa + { + get; + set; + } + + [Description("ENDOSSO")] + public string Endosso + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Item EntidadeItem + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Domain.Seguros.Sinistro EntidadeSinistro + { + get; + set; + } + + [Description("ESTIPULANTE")] + public string Estipulante + { + get; + set; + } + + [Description("FUNILARIA")] + public string Funilaria + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEmpresa + { + get; + set; + } + + [Description("ITEM")] + public string Item + { + get; + set; + } + + [Description("LIQUIDAÇÃO")] + [Tipo("DATA?")] + public DateTime? Liquidacao + { + get; + set; + } + + [Description("MECÂNICA")] + public string Mecanica + { + get; + set; + } + + [Description("MOTIVO")] + public string Motivo + { + get; + set; + } + + [Description("NOME")] + public string Nome + { + get; + set; + } + + [Description("NÚMERO SINISTRO")] + public string NumeroSinistro + { + get; + set; + } + + [Description("PASTA")] + public string Pasta + { + get; + set; + } + + [Description("PASTA CLIENTE")] + public string PastaCliente + { + get; + set; + } + + [Description("PENDÊNCIA")] + public int Pendencia + { + get; + set; + } + + [Description("RAMO")] + public string Ramo + { + get; + set; + } + + [Description("RECLAMAÇÃO")] + [Tipo("DATA/TIME")] + public DateTime Reclamacao + { + get; + set; + } + + [Description("SEGURADORA")] + public string Seguradora + { + get; + set; + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS APÓLICE")] + public string StatusApolice + { + get; + set; + } + + [Description("STATUS INTERNO")] + public string StatusPersonalizado + { + get; + set; + } + + [Description("STATUS")] + [Tipo("ENUM")] + public Gestor.Model.Common.StatusSinistro StatusSinistro + { + get; + set; + } + + [Description("TELEFONE")] + public string Telefone + { + get; + set; + } + + [Description("TIPO PERDA")] + public string TipoPerda + { + get; + set; + } + + [Description("TIPO")] + [Tipo("ENUM")] + public Gestor.Model.Common.TipoSinistro TipoSinistro + { + get; + set; + } + + [Description("USUÁRIO ALTERAÇÃO")] + public string UsuarioAlteracao + { + get; + set; + } + + [Description("USUÁRIO CRIAÇÃO")] + public string UsuarioCriacao + { + get; + set; + } + + [Description("VALOR")] + [Tipo("VALOR")] + public decimal Valor + { + get; + set; + } + + [Description("VALOR FRANQUIA")] + [Tipo("VALOR")] + public decimal ValorFranquia + { + get; + set; + } + + [Description("VALOR LIBERADO")] + [Tipo("VALOR")] + public decimal ValorLiberado + { + get; + set; + } + + [Description("VALOR ORÇADO")] + [Tipo("VALOR")] + public decimal ValorOrcado + { + get; + set; + } + + [Description("VALOR PAGO")] + [Tipo("VALOR")] + public decimal ValorPago + { + get; + set; + } + + [Description("VALOR SALVADO")] + [Tipo("VALOR")] + public decimal ValorSalvado + { + get; + set; + } + + [Description("VENDEDOR PRINCIPAL")] + public string Vendedor + { + get; + set; + } + + [Description("VIGÊNCIA FINAL")] + [Tipo("DATA?")] + public DateTime? VigenciaFinal + { + get; + set; + } + + [Description("VIGÊNCIA INICIAL")] + [Tipo("DATA?")] + public DateTime? VigenciaInicial + { + get; + set; + } + + public Sinistro() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Sinistro/SinteticoSinistro.cs b/Gestor.Model/Model.Domain.Relatorios/Sinistro/SinteticoSinistro.cs new file mode 100644 index 0000000..51c4025 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Sinistro/SinteticoSinistro.cs @@ -0,0 +1,68 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Sinistro +{ + public class SinteticoSinistro + { + public string Descricao + { + get; + set; + } + + [Description("QUANTIDADE LIQUIDADO")] + [Tipo("QUANTIDADE")] + public int Liquidado + { + get; + set; + } + + [Description("QUANTIDADE PENDENTE")] + [Tipo("QUANTIDADE")] + public int Pendente + { + get; + set; + } + + [Description("TOTAL")] + [Tipo("QUANTIDADE")] + public int Total + { + get; + set; + } + + [Description("VALOR LIQUIDADO")] + [Tipo("VALOR")] + public decimal ValorLiquidado + { + get; + set; + } + + [Description("VALOR PENDENTE")] + [Tipo("VALOR")] + public decimal ValorPendente + { + get; + set; + } + + [Description("VALOR TOTAL")] + [Tipo("VALOR")] + public decimal ValorTotal + { + get; + set; + } + + public SinteticoSinistro() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/SinteticModel.cs b/Gestor.Model/Model.Domain.Relatorios/SinteticModel.cs new file mode 100644 index 0000000..6542ac7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/SinteticModel.cs @@ -0,0 +1,30 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class SinteticModel + { + public string DescriptionField + { + get; + set; + } + + public string Hint + { + get; + set; + } + + public object Value + { + get; + set; + } + + public SinteticModel() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/SinteticModelList.cs b/Gestor.Model/Model.Domain.Relatorios/SinteticModelList.cs new file mode 100644 index 0000000..1f0cc2a --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/SinteticModelList.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class SinteticModelList + { + public string Hint + { + get; + set; + } + + public List Value + { + get; + set; + } + + public SinteticModelList() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Sintetico.cs b/Gestor.Model/Model.Domain.Relatorios/Sintetico.cs new file mode 100644 index 0000000..021791a --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Sintetico.cs @@ -0,0 +1,448 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class Sintetico + { + private const string categoriaSeguros = "SEGUROS"; + + private const string tipoQuantidade = "QUANTIDADE"; + + public const string descricaoNegociosProprios = "QUANTIDADE DE NEGÓCIOS PRÓPRIOS"; + + public const string propriedadeNegociosProprios = "NegociosProprios"; + + public const string descricaoSegurosNovos = "QUANTIDADE DE SEGUROS NOVOS"; + + public const string propriedadeSegurosNovos = "SegurosNovos"; + + [Category("FINANCEIRO")] + [Description("AGRUPAMENTO")] + public string Agrupamento + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE APÓLICES")] + [Tipo("QUANTIDADE")] + public int? Apolices + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE CANCELAMENTOS")] + [Tipo("QUANTIDADE")] + public int? Cancelamentos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE COMISSÃO GERADA")] + [Tipo("VALOR")] + public decimal? ComissaoGerada + { + get; + set; + } + + [Category("SEGUROS")] + [Description("COMISSÃO PENDENTE")] + [Tipo("VALOR")] + public decimal? ComissaoPendente + { + get; + set; + } + + [Category("SEGUROS")] + [Description("COMISSÃO PREVISTA")] + [Tipo("VALOR")] + public decimal? ComissaoPrevista + { + get; + set; + } + + [Category("SEGUROS")] + [Description("COMISSÃO RECEBIDA BRUTA")] + [Tipo("VALOR")] + public decimal? ComissaoRecebidaBruta + { + get; + set; + } + + [Category("SEGUROS")] + [Description("COMISSÃO RECEBIDA LÍQUIDA")] + [Tipo("VALOR")] + public decimal? ComissaoRecebidaLiquida + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE ENDOSSOS")] + [Tipo("QUANTIDADE")] + public int? Endossos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE FATURAS (DOCUMENTOS)")] + [Tipo("QUANTIDADE")] + public int? Faturas + { + get; + set; + } + + [Category("SEGUROS")] + [Description("IMPOSTOS")] + [Tipo("VALOR")] + public decimal? Impostos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("ISS")] + [Tipo("VALOR")] + public decimal? Iss + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE LIQUIDADO")] + [Tipo("QUANTIDADE")] + public int? Liquidado + { + get; + set; + } + + [Category("SEGUROS")] + [Description("MÉDIA DE COMISSÃO FECHADA")] + [Tipo("PERCENTUAL")] + public decimal? MediaComissao + { + get; + set; + } + + [Category("SEGUROS")] + [Description("MÉDIA DE COMISSÃO PONDERADA")] + [Tipo("PERCENTUAL")] + public decimal? MediaPonderada + { + get; + set; + } + + [Category("SEGUROS")] + [Description("% CUMPRIDA")] + [Tipo("PERCENTUAL")] + public decimal? Meta + { + get; + set; + } + + [Category("SEGUROS")] + [Description("META ATINGIR")] + [Tipo("VALOR")] + public decimal? MetaAtingir + { + get; + set; + } + + [Category("SEGUROS")] + [Description("META CUMPRIDA")] + [Tipo("VALOR")] + public decimal? MetaCumprida + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE NEGÓCIOS PRÓPRIOS")] + [Tipo("QUANTIDADE")] + public int? NegociosProprios + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE NOVOS NEGÓCIOS")] + [Tipo("QUANTIDADE")] + public int? Novos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE PENDENTE")] + [Tipo("QUANTIDADE")] + public int? Pendente + { + get; + set; + } + + [Category("SEGUROS")] + [Description("PRÊMIO LÍQUIDO")] + [Tipo("VALOR")] + public decimal? PremioLiquido + { + get; + set; + } + + [Category("SEGUROS")] + [Description("PRÊMIO TOTAL")] + [Tipo("VALOR")] + public decimal? PremioTotal + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE RENOVAÇÕES")] + [Tipo("QUANTIDADE")] + public int? Renovacoes + { + get; + set; + } + + [Category("SEGUROS")] + [Description("REPASSE")] + [Tipo("VALOR")] + public decimal? Repasse + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE SEGUROS NOVOS")] + [Tipo("QUANTIDADE")] + public int? SegurosNovos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE CLIENTES")] + [Tipo("QUANTIDADE")] + public int? TotalClientes + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE CLIENTES ATIVOS")] + [Tipo("QUANTIDADE")] + public int? TotalClientesAtivos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE CLIENTES INATIVOS")] + [Tipo("QUANTIDADE")] + public int? TotalClientesInativos + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL GERAL")] + [Tipo("QUANTIDADE")] + public int? TotalGeral + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE LÍQUIDO")] + [Tipo("QUANTIDADE")] + public int? TotalLiquido + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL PARCELAS")] + [Tipo("VALOR")] + public decimal? TotalParcela + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL PREVISTO")] + [Tipo("VALOR")] + public decimal? TotalPrevista + { + get; + set; + } + + [Category("SEGUROS")] + [Description("QUANTIDADE DE PROSPECÇÕES")] + [Tipo("QUANTIDADE")] + public int? TotalProspeccao + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE TAREFAS")] + [Tipo("QUANTIDADE")] + public int? TotalTarefas + { + get; + set; + } + + [Category("SEGUROS")] + [Description("TOTAL DE TERCEIROS")] + [Tipo("QUANTIDADE")] + public int? TotalTerceiros + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR")] + [Tipo("VALOR")] + public decimal? Valor + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR BRUTO")] + [Tipo("VALOR")] + public decimal? ValorBruto + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR FRANQUIA")] + [Tipo("VALOR")] + public decimal? ValorFranquia + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("ISS")] + [Tipo("VALOR")] + public decimal? ValorIss + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR LIBERADO")] + [Tipo("VALOR")] + public decimal? ValorLiberado + { + get; + set; + } + + [Category("SEGUROS")] + [Description("VALOR LIQUIDADO")] + [Tipo("VALOR")] + public decimal? ValorLiquidado + { + get; + set; + } + + [Category("SEGUROS")] + [Description("VALOR LÍQUIDO")] + [Tipo("VALOR")] + public decimal? ValorLiquido + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR ORÇADO")] + [Tipo("VALOR")] + public decimal? ValorOrcado + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR PAGO")] + [Tipo("VALOR")] + public decimal? ValorPago + { + get; + set; + } + + [Category("SEGUROS")] + [Description("VALOR PARCELA")] + [Tipo("VALOR")] + public decimal? ValorParcela + { + get; + set; + } + + [Category("FINANCEIRO")] + [Description("VALOR SALVADO")] + [Tipo("VALOR")] + public decimal? ValorSalvado + { + get; + set; + } + + public Sintetico() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/SinteticoFinanceiro.cs b/Gestor.Model/Model.Domain.Relatorios/SinteticoFinanceiro.cs new file mode 100644 index 0000000..4518ff3 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/SinteticoFinanceiro.cs @@ -0,0 +1,37 @@ +using Gestor.Model.Attributes; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class SinteticoFinanceiro + { + [Description("AGRUPAMENTO")] + public string Agrupamento + { + get; + set; + } + + [Description("VALOR")] + [Tipo("VALOR")] + public decimal? Valor + { + get; + set; + } + + [Description("VALOR PAGO")] + [Tipo("VALOR")] + public decimal? ValorPago + { + get; + set; + } + + public SinteticoFinanceiro() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/StatusRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/StatusRelatorio.cs new file mode 100644 index 0000000..e93e9ff --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/StatusRelatorio.cs @@ -0,0 +1,58 @@ +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Threading; + +namespace Gestor.Model.Domain.Relatorios +{ + public class StatusRelatorio : INotifyPropertyChanged + { + private bool _selecionado; + + public int Id + { + get; + set; + } + + public bool Selecionado + { + get + { + return this._selecionado; + } + set + { + if (value == this._selecionado) + { + return; + } + this._selecionado = value; + this.OnPropertyChanged("Selecionado"); + } + } + + public TipoSeguro Status + { + get; + set; + } + + public StatusRelatorio() + { + } + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged; + if (propertyChangedEventHandler == null) + { + return; + } + propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName)); + } + + public event PropertyChangedEventHandler PropertyChanged; + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/Tarefa/Tarefa.cs b/Gestor.Model/Model.Domain.Relatorios/Tarefa/Tarefa.cs new file mode 100644 index 0000000..856081d --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/Tarefa/Tarefa.cs @@ -0,0 +1,160 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios.Tarefa +{ + public class Tarefa + { + private string _usuario; + + private string _cliente; + + private string _referencia; + + private string _tipoTarefa; + + [Description("AGENDAMENTO")] + [Tipo("DATA/TIME")] + public DateTime Agendamento + { + get; + set; + } + + [Description("CLIENTE")] + public string Cliente + { + get + { + string str = this._cliente; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._cliente = value; + } + } + + [Description("CONCLUSÃO")] + [Tipo("DATA/TIME?")] + public DateTime? Conclusao + { + get; + set; + } + + [Tipo("INVALID")] + public Gestor.Model.Common.TipoTarefa Entidade + { + get; + set; + } + + [Tipo("INVALID")] + public long Id + { + get; + set; + } + + [Tipo("INVALID")] + public long IdCliente + { + get; + set; + } + + [Tipo("INVALID")] + public long IdEntidade + { + get; + set; + } + + [Description("REFERÊNCIA")] + public string Referencia + { + get + { + string str = this._referencia; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._referencia = value; + } + } + + [Tipo("INVALID")] + public bool Selecionado + { + get; + set; + } + + [Description("STATUS")] + public string Status + { + get; + set; + } + + [Description("TIPO DE TAREFA")] + public string TipoTarefa + { + get + { + string str = this._tipoTarefa; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._tipoTarefa = value; + } + } + + [Description("TÍTULO")] + public string Titulo + { + get; + set; + } + + [Description("USUÁRIO")] + public string Usuario + { + get + { + string str = this._usuario; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._usuario = value; + } + } + + public Tarefa() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/TipoRelatorio.cs b/Gestor.Model/Model.Domain.Relatorios/TipoRelatorio.cs new file mode 100644 index 0000000..660d675 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/TipoRelatorio.cs @@ -0,0 +1,30 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class TipoRelatorio + { + public DateTime Fim + { + get; + set; + } + + public DateTime Inicio + { + get; + set; + } + + public string Nome + { + get; + set; + } + + public TipoRelatorio() + { + } + } +} \ No newline at end of file diff --git a/Gestor.Model/Model.Domain.Relatorios/ValorSintetico.cs b/Gestor.Model/Model.Domain.Relatorios/ValorSintetico.cs new file mode 100644 index 0000000..10004d7 --- /dev/null +++ b/Gestor.Model/Model.Domain.Relatorios/ValorSintetico.cs @@ -0,0 +1,55 @@ +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Relatorios +{ + public class ValorSintetico + { + public string Formato + { + get; + set; + } + + public string Indice + { + get; + set; + } + + public string NomeRelatorio + { + get; + set; + } + + public string Porcentagem + { + get; + set; + } + + public Gestor.Model.Common.Sinal Sinal + { + get; + set; + } + + public string Unidate + { + get; + set; + } + + public decimal Valor + { + get; + set; + } + + public ValorSintetico() + { + } + } +} \ No newline at end of file -- cgit v1.2.3