diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 17:17:46 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 17:17:46 +0000 |
| commit | 0440c722a221b8068bbf388c1c0c51f0faff0451 (patch) | |
| tree | 169cbf90c50ff7961db82ecb606c50c2a45a1688 /Gestor.Model/Gestor.Model.Domain.Relatorios | |
| parent | 225aa1499e37faf9d38257caabbadc68d78b427e (diff) | |
| download | gestor-0440c722a221b8068bbf388c1c0c51f0faff0451.tar.gz gestor-0440c722a221b8068bbf388c1c0c51f0faff0451.zip | |
Diffstat (limited to 'Gestor.Model/Gestor.Model.Domain.Relatorios')
19 files changed, 1494 insertions, 0 deletions
diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/CartaoSegurado.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/CartaoSegurado.cs new file mode 100644 index 0000000..2e7a67c --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/CartaoSegurado.cs @@ -0,0 +1,20 @@ +namespace Gestor.Model.Domain.Relatorios; + +public class CartaoSegurado +{ + public string Nome { get; set; } + + public string Apolice { get; set; } + + public string Vigencia { get; set; } + + public string Item { get; set; } + + public string Seguradora { get; set; } + + public string LinkApolice { get; set; } + + public string Assistencia { get; set; } + + public string TelefoneCorretor { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosRelatorio.cs new file mode 100644 index 0000000..cf5fbf9 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosRelatorio.cs @@ -0,0 +1,150 @@ +using System; +using System.ComponentModel; +using Gestor.Model.Attributes; +using Gestor.Model.Domain.Seguros; + +namespace Gestor.Model.Domain.Relatorios; + +public class DadosRelatorio +{ + [Tipo("INVALID")] + public bool Selecionado { get; set; } + + [Tipo("INVALID")] + public Adiantamento EntidadeAdiantamento { get; set; } + + [Tipo("INVALID")] + public Parcela EntidadeParcela { get; set; } + + [Tipo("INVALID")] + public Documento EntidadeDocumento { get; set; } + + [Tipo("INVALID")] + public VendedorParcela EntidadeVendedorParcela { get; set; } + + [Tipo("INVALID")] + public long Id { get; set; } + + [Description("CLIENTE")] + [Width("200")] + public string Cliente { get; set; } + + [Description("PROPOSTA")] + public string Proposta { get; set; } + + [Description("PEDIDO ENDOSSO")] + public string PedidoEndosso { get; set; } + + [Description("APÓLICE")] + [Width("150")] + public string Apolice { get; set; } + + [Description("ENDOSSO")] + [Width("100")] + public string Endosso { get; set; } + + [Description("STATUS")] + public string Status { get; set; } + + [Tipo("DATA?")] + [Description("VIGÊNCIA INICIAL")] + [Width("115")] + public DateTime? VigenciaIncial { get; set; } + + [Tipo("DATA?")] + [Description("VIGÊNCIA FINAL")] + public DateTime? VigenciaFinal { get; set; } + + [Tipo("PERCENTUAL")] + [Description("COMISSÃO")] + [Width("70")] + public decimal? Comissao { get; set; } + + [Tipo("VALOR?")] + [Description("PRÊMIO LÍQUIDO")] + [Width("110")] + public decimal? PremioLiquido { get; set; } + + [Tipo("VALOR?")] + [Description("PRÊMIO TOTAL")] + public decimal? PremioTotal { get; set; } + + [Description("PARCELA")] + [Width("60")] + public string Parcela { get; set; } + + [Tipo("VALOR?")] + [Description("VALOR PARCELA")] + public decimal? ValorParcela { get; set; } + + [Tipo("DATA?")] + [Description("RECEBIMENTO")] + [Width("90")] + public DateTime? Recebimento { get; set; } + + [Tipo("PERCENTUAL")] + [Description("% REPASSE")] + [Width("70")] + public decimal? ComissaoRepasse { get; set; } + + [Tipo("VALOR")] + [Description("REPASSE")] + [Width("120")] + public decimal Repasse { get; set; } + + [Tipo("VALOR")] + [Description("VALOR LÍQUIDO")] + [Width("110")] + public decimal ValorLiquido { get; set; } + + [Description("SEGURADORA")] + public string Seguradora { get; set; } + + [Description("RAMO")] + public string Ramo { get; set; } + + [Description("PRODUTO")] + public string Produto { get; set; } + + [Description("TIPO RENOVAÇÃO")] + public string Negocio { get; set; } + + [Description("ESTIPULANTE")] + public string Estipulante { get; set; } + + [Description("VENDEDOR")] + public string Vendedor { get; set; } + + [Description("EMITIDO")] + public string DocumentoEmitido { get; set; } + + [Tipo("DATA?")] + [Description("DATA DE CADASTRO DO DOCUMENTO")] + public DateTime? DataCriacao { get; set; } + + [Tipo("INVALID")] + public int Tipo { get; set; } + + [Tipo("DATA?")] + [Description("DATA PAGAMENTO")] + [Width("120")] + public DateTime? DataPagamento { get; set; } + + [Description("BANCO")] + public string Banco { get; set; } + + [Description("Nº AGÊNCIA")] + public string Agencia { get; set; } + + [Description("Nº CONTA")] + public string Conta { get; set; } + + [Tipo("INVALID")] + public string CPFVendedor { get; set; } + + [Description("HOUVE RECEBIMENTO")] + public string HouveRecebimento { get; set; } + + [Description("RECEBIDO POR COMPLETO")] + public string RecebidoPorCompleto { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosVinculo.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosVinculo.cs new file mode 100644 index 0000000..602974d --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/DadosVinculo.cs @@ -0,0 +1,25 @@ +using System; +using Gestor.Model.Domain.Aggilizador; + +namespace Gestor.Model.Domain.Relatorios; + +public class DadosVinculo +{ + public VinculoDocumento Vinculo { get; set; } + + public long Id { get; set; } + + public string Documento { get; set; } + + public string Proposta { get; set; } + + public string Apolice { get; set; } + + public string Endosso { get; set; } + + public long IdSeguradora { get; set; } + + public DateTime VigenciaInicial { get; set; } + + public DateTime? Vigenciafinal { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroPersonalizado.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroPersonalizado.cs new file mode 100644 index 0000000..83ace76 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroPersonalizado.cs @@ -0,0 +1,24 @@ +using System; + +namespace Gestor.Model.Domain.Relatorios; + +public class FiltroPersonalizado +{ + public int Id { get; set; } + + public string Nome { get; set; } + + public string Propriedade { get; set; } + + public Type Tipo { get; set; } + + public string ValorIncial { get; set; } + + public string ValorFinal { get; set; } + + public string Descricao { get; set; } + + public bool SemValor { get; set; } + + public bool Diferente { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroRelatorio.cs new file mode 100644 index 0000000..c52bc18 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroRelatorio.cs @@ -0,0 +1,35 @@ +using System.ComponentModel; +using Gestor.Model.Attributes; +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class FiltroRelatorio +{ + private string _descricao; + + public long Id { get; set; } + + public string Icone { get; set; } + + [Description("DESCRIÇÃO DO FILTRO")] + public string Descricao + { + get + { + return _descricao; + } + set + { + _descricao = value; + if (!string.IsNullOrWhiteSpace(value)) + { + Icone = value.Substring(0, 1); + } + } + } + + [Tipo("ENUM")] + [Description("TIPO DO FILTRO")] + public TipoFiltroRelatorio Tipo { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroTipoParcela.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroTipoParcela.cs new file mode 100644 index 0000000..27ae25e --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/FiltroTipoParcela.cs @@ -0,0 +1,28 @@ +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class FiltroTipoParcela +{ + private bool _selecionado; + + public SubTipo Tipo { get; set; } + + public bool Selecionado + { + get + { + return _selecionado; + } + set + { + if (IsEnable) + { + _selecionado = value; + } + } + } + + public bool IsEnable { get; set; } = true; + +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/Filtros.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/Filtros.cs new file mode 100644 index 0000000..2242c91 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/Filtros.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; + +namespace Gestor.Model.Domain.Relatorios; + +public class Filtros : ICloneable +{ + public DateTime Inicio { get; set; } + + public DateTime Fim { get; set; } + + public int ValorInicio { get; set; } + + public int ValorFim { get; set; } + + public long IdEmpresa { get; set; } + + public List<long> Seguradoras { get; set; } + + public List<long> Ramos { get; set; } + + public List<long> Status { get; set; } + + public List<long> Vendedores { get; set; } + + public List<long> VinculoVendedores { get; set; } + + public List<long> TipoVendedor { get; set; } + + public List<long> Estipulantes { get; set; } + + public List<long> Produtos { get; set; } + + public List<long> Negocio { get; set; } + + public List<long> Usuarios { get; set; } + + public List<long> Telas { get; set; } + + public List<long> Relatorios { get; set; } + + public string Referencia { get; set; } + + public List<FiltroTipoParcela> ParcelasEspeciais { get; set; } + + public string FiltrarDocumento { get; set; } + + public object Clone() + { + return (Filtros)MemberwiseClone(); + } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/Listagem.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/Listagem.cs new file mode 100644 index 0000000..a173329 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/Listagem.cs @@ -0,0 +1,14 @@ +using System.ComponentModel; + +namespace Gestor.Model.Domain.Relatorios; + +public class Listagem +{ + [Description("AGRUPAMENTO")] + public string Agrupamento { get; set; } + + [Description("VALOR")] + public string Valor { get; set; } + + public string NomeRelatorio { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/NegocioRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/NegocioRelatorio.cs new file mode 100644 index 0000000..11af3ed --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/NegocioRelatorio.cs @@ -0,0 +1,37 @@ +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class NegocioRelatorio : INotifyPropertyChanged +{ + private bool _selecionado; + + public bool Selecionado + { + get + { + return _selecionado; + } + set + { + if (value != _selecionado) + { + _selecionado = value; + OnPropertyChanged("Selecionado"); + } + } + } + + public int Id { get; set; } + + public NegocioCorretora Negocio { get; set; } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosRelatorio.cs new file mode 100644 index 0000000..db2d41c --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosRelatorio.cs @@ -0,0 +1,46 @@ +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class ParametrosRelatorio : INotifyPropertyChanged +{ + private bool _selecionado; + + public bool Selecionado + { + get + { + return _selecionado; + } + set + { + _selecionado = value; + OnPropertyChanged("Selecionado"); + } + } + + public long Id { get; set; } + + public long IdUsuario { get; set; } + + public Relatorio Relatorio { get; set; } + + public string Campo { get; set; } + + public string Header { get; set; } + + public int Width { get; set; } + + public string Tipo { get; set; } + + public int Ordem { get; set; } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosTotalizacao.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosTotalizacao.cs new file mode 100644 index 0000000..5147ba3 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosTotalizacao.cs @@ -0,0 +1,18 @@ +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class ParametrosTotalizacao +{ + public long Id { get; set; } + + public long IdUsuario { get; set; } + + public Relatorio Relatorio { get; set; } + + public string Campo { get; set; } + + public string Header { get; set; } + + public bool Ativa { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/PlanilhaCompleta.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/PlanilhaCompleta.cs new file mode 100644 index 0000000..0eac0cb --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/PlanilhaCompleta.cs @@ -0,0 +1,685 @@ +using System; +using System.ComponentModel; + +namespace Gestor.Model.Domain.Relatorios; + +public class PlanilhaCompleta +{ + [Description("PROPOSTA")] + public string NumeroProposta { get; set; } + + [Description("APÓLICE")] + public string NumeroApolice { get; set; } + + [Description("PEDIDO ENDOSSO")] + public string NumeroPedidoEndosso { get; set; } + + [Description("ENDOSSO")] + public string NumeroEndosso { get; set; } + + [Description("STATUS")] + public string Status { get; set; } + + [Description("TIPO DO RECEBIMENTO")] + public string TipoRecebimento { get; set; } + + [Description("EMISSÃO")] + public DateTime? Emissao { get; set; } + + [Description("VIGÊNCIA INICIAL")] + public DateTime? VigenciaInicial { get; set; } + + [Description("VIGÊNCIA FINAL")] + public DateTime? VigenciaFinal { get; set; } + + [Description("TRANSMISSÃO")] + public DateTime? Remessa { get; set; } + + [Description("COMISSÃO")] + public decimal? Comissao { get; set; } + + [Description("COMISSÃO GERADA")] + public decimal? ComissaoGerada { get; set; } + + [Description("LÍQUIDO FATURA")] + public decimal? LiquidoFatura { get; set; } + + [Description("PRÊMIO LÍQUIDO")] + public decimal? PremioLiquido { get; set; } + + [Description("PRÊMIO TOTAL")] + public decimal? PremioTotal { get; set; } + + [Description("TOTAL FATURA")] + public decimal? TotalFatura { get; set; } + + [Description("COMISSÃO ADICIONAL")] + public bool AdicionalComiss { get; set; } + + [Description("PRÊMIO ADICIONAL")] + public decimal? PremioAdicional { get; set; } + + [Description("PRÊMIO CUSTO")] + public decimal? PremioCusto { get; set; } + + [Description("IOF")] + public decimal? Iof { get; set; } + + [Description("NÚMERO DE PARCELAS")] + public int? NumParcelas { get; set; } + + [Description("VALOR PARCELAS")] + public decimal? ValorParcela { get; set; } + + [Description("FORMA DE PAGAMENTO")] + public string FormaPagamento { get; set; } + + [Description("SEGURADORA")] + public string Seguradora { get; set; } + + [Description("RAMO")] + public string Ramo { get; set; } + + [Description("SEGURADORA ANTERIOR")] + public string SeguradoraAnterior { get; set; } + + [Description("CÓDIGO DOCUMENTO")] + public long IdDocumento { get; set; } + + [Description("NEGÓCIO CORRETORA")] + public string Negocio { 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("VENDEDOR PRINCIPAL")] + public string Vendedor { get; set; } + + [Description("DATA CONTROLE")] + public DateTime? DataControle { get; set; } + + [Description("PRODUTO")] + public string Produto { get; set; } + + [Description("DOCUMENTO SINISTRADO")] + public string DocumentoSinistrado { get; set; } + + [Description("QUANTIDADE DE SINISTROS")] + public int QtdeSinistro { get; set; } + + [Description("FRANQUIA DA APÓLICE")] + public decimal? ValorFranquiaApolice { get; set; } + + [Description("QUANTIDADE DE ENDOSSOS")] + public int QtdeEndosso { get; set; } + + [Description("OBSERVAÇÃO DOCUMENTO")] + public string ObservacaoDocumento { get; set; } + + [Description("NOME DO CLIENTE")] + public string NomeCliente { get; set; } + + [Description("NASCIMENTO")] + public DateTime? NascimentoCliente { get; set; } + + [Description("SEXO")] + public string SexoCliente { get; set; } + + [Description("ESTADO CIVIL")] + public string EstadoCivilCliente { get; set; } + + [Description("DOCUMENTO PRINCIPAL")] + public string DocumentoCliente { get; set; } + + [Description("IDENTIDADE")] + public string IdentidadeCliente { get; set; } + + [Description("EMISSOR")] + public string EmissorCliente { get; set; } + + [Description("ESTADO EMISSOR")] + public string EstadoEmissorCliente { get; set; } + + [Description("EXPEDIÇÃO")] + public DateTime? ExpedicaoCliente { get; set; } + + [Description("HIBILITAÇÃO")] + public string HabilitacaoCliente { get; set; } + + [Description("PRIMEIRA HABILITAÇÃO")] + public DateTime? PrimeiraHabilitacaoCliente { get; set; } + + [Description("VENCIMENTO DA HABILITAÇÃO")] + public DateTime? VencimentoHabilitacaoCliente { get; set; } + + [Description("CATEGORIA DA HABILITAÇÃO")] + public string CategoriaHabilitacaoCliente { get; set; } + + [Description("CLIENTE DESDE")] + public DateTime? ClienteDesde { get; set; } + + [Description("PARENTESCO")] + public string Parentesco { get; set; } + + [Description("PREFIXO1")] + public string Prefixo1 { get; set; } + + [Description("TELEFONE1")] + public string Telefone1 { get; set; } + + [Description("PREFIXO2")] + public string Prefixo2 { get; set; } + + [Description("TELEFONE2")] + public string Telefone2 { get; set; } + + [Description("PREFIXO3")] + public string Prefixo3 { get; set; } + + [Description("TELEFONE3")] + public string Telefone3 { get; set; } + + [Description("E-MAIL1")] + public string Email1 { get; set; } + + [Description("E-MAIL2")] + public string Email2 { get; set; } + + [Description("CEP")] + public string Cep { get; set; } + + [Description("ENDEREÇO")] + public string Endereco { get; set; } + + [Description("NÚMERO")] + public string Numero { get; set; } + + [Description("COMPLEMENTO")] + public string Complemento { get; set; } + + [Description("BAIRRO")] + public string Bairro { get; set; } + + [Description("CIDADE")] + public string Cidade { get; set; } + + [Description("ESTADO")] + public string Estado { get; set; } + + [Description("C.E.I.")] + public string CeiCliente { get; set; } + + [Description("R.N.E.")] + public string RneCliente { get; set; } + + [Description("ATIVIDADE")] + public string AtividadeCliente { get; set; } + + [Description("PROFISSÃO")] + public string ProfissaoCliente { get; set; } + + [Description("BANCO")] + public string BancoCliente { get; set; } + + [Description("AGÊNCIA")] + public string AgenciaCliente { get; set; } + + [Description("CONTA")] + public string ContaCliente { get; set; } + + [Description("FALECIDO")] + public string FalecidoCliente { get; set; } + + [Description("NOME DO CONTATO")] + public string NomeContato { get; set; } + + [Description("NASCIMENTO DO CONTATO")] + public DateTime? NascimentoContato { get; set; } + + [Description("DOCUMENTO DO CONTATO")] + public string DocumentoContato { get; set; } + + [Description("IDENTIDADE DO CONTATO")] + public string IdentidadeContato { get; set; } + + [Description("EXPEDIÇÃO DO CONTATO")] + public DateTime? ExpedicaoContato { get; set; } + + [Description("PREFIXO DO CONTATO")] + public string PrefixoContato { get; set; } + + [Description("TELEFONE DO CONTATO")] + public string TelefoneContato { get; set; } + + [Description("E-MAIL DO CONTATO")] + public string EmailContato { get; set; } + + [Description("HABILITAÇÃO DO CONTATO")] + public string HabilitacaoContato { get; set; } + + [Description("PRIMEIRA HABILITAÇÃO DO CONTATO")] + public DateTime? PrimeiraHabilitacaoContato { get; set; } + + [Description("BANCO DO CONTATO")] + public string BancoContato { get; set; } + + [Description("AGÊNCIA DO CONTATO")] + public string AgenciaContato { get; set; } + + [Description("CONTA DO CONTATO")] + public string ContaContato { get; set; } + + [Description("OBSERVAÇÃO")] + public string ObservacaoCliente { get; set; } + + [Description("PASTA")] + public string PastaCliente { get; set; } + + [Description("DESCRIÇÃO DO ITEM")] + public string DescricaoItem { get; set; } + + [Description("ITEM SINISTRADO")] + public string SinistradoItem { get; set; } + + [Description("STATUS DO ITEM")] + public string StatusItem { get; set; } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsItem { get; set; } + + [Description("FROTA")] + public string Frota { get; set; } + + [Description("CÓDIGO FIPE")] + public string CodFipe { get; set; } + + [Description("COMBUSTÍVEL")] + public string Combustivel { get; set; } + + [Description("MODELO")] + public string Modelo { get; set; } + + [Description("FABRICANTE")] + public string Fabricante { get; set; } + + [Description("CATEGORIA")] + public string Categoria { get; set; } + + [Description("CHASSI")] + public string Chassi { get; set; } + + [Description("PLACA")] + public string Placa { get; set; } + + [Description("ANO DE FABRICAÇÃO")] + public string AnoFab { get; set; } + + [Description("ANO DO MODELO")] + public string AnoMod { get; set; } + + [Description("RENAVAM")] + public string Renavam { get; set; } + + [Description("CAPACIDADE")] + public string Capacidade { get; set; } + + [Description("PORTAS")] + public string Portas { get; set; } + + [Description("COR")] + public string Cor { get; set; } + + [Description("OBSERVAÇÃO DO AUTO")] + public string ObsAuto { get; set; } + + [Description("OBSERVAÇÃO DE VIDA")] + public string ObsVida { get; set; } + + [Description("REGIÃO DE CIRCULAÇÃO")] + public string RegCirc { get; set; } + + [Description("TABELA DE REFERÊNCIA")] + public string TabelaRef { get; set; } + + [Description("BÔNUS")] + public decimal? Bonus { get; set; } + + [Description("PORCENTAGEM DE REFERÊNCIA")] + public decimal? PorcRef { get; set; } + + [Description("VALOR DETERMINADO")] + public decimal? ValorDeterminado { get; set; } + + [Description("CI")] + public string Ci { get; set; } + + [Description("CEP PERNOITE")] + public string CepPernoite { get; set; } + + [Description("FINANCIADO")] + public string Financiado { get; set; } + + [Description("ZERO KM")] + public string ZeroKm { get; set; } + + [Description("INSENÇÃO")] + public string Isencao { get; set; } + + [Description("PCD")] + public string Pcd { get; set; } + + [Description("CORREÇÃO")] + public string Correcao { get; set; } + + [Description("DANOS MATERIAIS PREMIO")] + public decimal? DanosMateriasPremios { get; set; } + + [Description("DANOS MATERIAIS LMI")] + public decimal? DanosMateriasLmi { get; set; } + + [Description("DANOS MATERIAIS FRANQUIA")] + public decimal? DanosMateriasFranquia { get; set; } + + [Description("DANOS MORAIS PREMIO")] + public decimal? DanosMoraisPremios { get; set; } + + [Description("DANOS MORAIS LMI")] + public decimal? DanosMoraisLmi { get; set; } + + [Description("DANOS MORAIS FRANQUIA")] + public decimal? DanosMoraisFranquia { get; set; } + + [Description("DANOS CORPORAIS PREMIO")] + public decimal? DanosCorporaisPremios { get; set; } + + [Description("DANOS CORPORAIS LMI")] + public decimal? DanosCorporaisLmi { get; set; } + + [Description("DANOS CORPORAIS FRANQUIA")] + public decimal? DanosCorporaisFranquia { get; set; } + + [Description("ACIDENTES PASSAGEIRO PREMIO")] + public decimal? AppPremios { get; set; } + + [Description("ACIDENTES PASSAGEIRO LMI")] + public decimal? AppLmi { get; set; } + + [Description("ACIDENTES PASSAGEIRO FRANQUIA")] + public decimal? AppFranquia { get; set; } + + [Description("CARRO RESERVA PREMIO")] + public decimal? CarroReservaPremios { get; set; } + + [Description("CARRO RESERVA LMI")] + public decimal? CarroReservaLmi { get; set; } + + [Description("CARRO RESERVA FRANQUIA")] + public decimal? CarroReservaFranquia { get; set; } + + [Description("CARRO RESERVA OBS")] + public string CarroReservaObs { get; set; } + + [Description("ENDEREÇO DO ITEM")] + public string EnderecoItem { get; set; } + + [Description("NÚMERO DO ITEM")] + public string NumeroItem { get; set; } + + [Description("COMPLEMENTO DO ITEM")] + public string ComplementoItem { get; set; } + + [Description("BAIRRO DO ITEM")] + public string BairroItem { get; set; } + + [Description("CIDADE DO ITEM")] + public string CidadeItem { get; set; } + + [Description("UF DO ITEM")] + public string UfItem { get; set; } + + [Description("CEP DO ITEM")] + public string CepItem { get; set; } + + [Description("TIPO DE RESIDÊNCIA DO ITEM")] + public string TipoResidenciaPatrimonial { get; set; } + + [Description("BENS DO ITEM")] + public string BensPatrimonial { get; set; } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsPatrimonial { get; set; } + + [Description("OBSERVAÇÃO DO ITEM")] + public string ObsGranizo { get; set; } + + [Description("CULTURA DO GRANIZO")] + public string CulturaGranizo { get; set; } + + [Description("SÍTIO DO GRANIZO")] + public string SitioGranizo { get; set; } + + [Description("SUBSÍDIO FEDERAL DO GRANIZO")] + public decimal? SubFedGranizo { get; set; } + + [Description("SUBSÍDIO ESTADUAL DO GRANIZO")] + public decimal? SubEstGranizo { get; set; } + + [Description("IMOBILIÁRIA DO ITEM")] + public string ImobiliariaPatrimonial { get; set; } + + [Description("CONTATO DO ITEM")] + public string ContatoPatrimonial { get; set; } + + [Description("PRIMEIRO LOCATÁRIO")] + public string Locatario { get; set; } + + [Description("DOCUMENTO PRIMEIRO LOCATÁRIO")] + public string DocumentoLocatario { get; set; } + + [Description("DDD PRIMEIRO LOCATÁRIO")] + public string DddLocatario { get; set; } + + [Description("TELEFONE PRIMEIRO LOCATÁRIO")] + public string TelefoneLocatario { get; set; } + + [Description("DDD 2 PRIMEIRO LOCATÁRIO")] + public string Ddd2Locatario { get; set; } + + [Description("TELEFONE 2 PRIMEIRO LOCATÁRIO")] + public string Telefone2Locatario { get; set; } + + [Description("SEGUNDO LOCATÁRIO")] + public string Locatario2 { get; set; } + + [Description("DOCUMENTO SEGUNDO LOCATÁRIO")] + public string DocumentoLocatario2 { get; set; } + + [Description("DDD SEGUNDO LOCATÁRIO")] + public string DddLocatario2 { get; set; } + + [Description("TELEFONE SEGUNDO LOCATÁRIO")] + public string TelefoneLocatario2 { get; set; } + + [Description("TERCEIRO LOCATÁRIO")] + public string Locatario3 { get; set; } + + [Description("DOCUMENTO TERCEIRO LOCATÁRIO")] + public string DocumentoLocatario3 { get; set; } + + [Description("DDD TERCEIRO LOCATÁRIO")] + public string DddLocatario3 { get; set; } + + [Description("TELEFONE TERCEIRO LOCATÁRIO")] + public string TelefoneLocatario3 { get; set; } + + [Description("ÁREA")] + public string AreaGranizo { get; set; } + + [Description("FABRICANTE AERONÁUTICO")] + public string FabricanteAero { get; set; } + + [Description("MODELO")] + public string ModeloAero { get; set; } + + [Description("SÉRIE DE REGISTRO")] + public string SerieAero { get; set; } + + [Description("NOME PREFIXO")] + public string NomeAero { get; set; } + + [Description("ANO DE FABRICAÇÃO")] + public int? AnoFabAero { get; set; } + + [Description("TRIPULANTES")] + public int? TripulantesAero { get; set; } + + [Description("PASSAGEIROS")] + public int? PassageirosAero { get; set; } + + [Description("MARINA AÉREO")] + public string MarinaAero { get; set; } + + [Description("PESO")] + public decimal? PesoAero { get; set; } + + [Description("CERTIFICADO")] + public string CertificadoAero { get; set; } + + [Description("VISTORIA")] + public DateTime? VistoriaAero { get; set; } + + [Description("CASCO")] + public string CascoAero { get; set; } + + [Description("NAVEGAÇÃO")] + public string NavegacaoAero { get; set; } + + [Description("OBSERVAÇÃO DO AERO")] + public string ObsAero { get; set; } + + [Description("OBSERVAÇÃO RISCOS DIVERSOS")] + public string ObsRiscos { get; set; } + + [Description("SUBSÍDIO FEDERAL RISCOS DIVERSOS")] + public decimal? SubFedRiscos { get; set; } + + [Description("SUBSÍDIO ESTADUAL RISCOS DIVERSOS")] + public decimal? SubEstRiscos { get; set; } + + [Description("ÁREA")] + public string AreaRiscos { get; set; } + + [Description("PLANO")] + public string PlanoVida { get; set; } + + [Description("SÓCIOS")] + public int? SociosVida { get; set; } + + [Description("FUNCIONÁRIOS")] + public int? FuncionariosVida { get; set; } + + [Description("CAPITAL SÓCIO")] + public decimal? CapitalSociosVida { get; set; } + + [Description("CAPITAL FUNCIONÁRIOS")] + public decimal? CapitalFuncionariosVida { get; set; } + + [Description("NOME PERFIL")] + public string NomePerfil { get; set; } + + [Description("CPF PERFIL")] + public string CpfPerfil { get; set; } + + [Description("NASCIMENTO PERFIL")] + public DateTime? NascimentoPerfil { get; set; } + + [Description("SEXO PERFIL")] + public string SexoPerfil { get; set; } + + [Description("ESTADO CIVIL PERFIL")] + public string EstadoCivilPerfil { get; set; } + + [Description("CEP PERNOITE PERFIL")] + public string CEPPernoitePerfil { get; set; } + + [Description("CEP CIRCULAÇÃO PERFIL")] + public string CEPCirculacaoPerfil { get; set; } + + [Description("DESCRIÇÃO DO SINISTRO")] + public string DescricaoSinistro { get; set; } + + [Description("NÚMERO DO SINISTRO")] + public string NumeroSinistro { get; set; } + + [Description("DATA RECLAMAÇÃO")] + public DateTime? DataReclamacao { get; set; } + + [Description("DATA LIQUIDAÇÃO")] + public DateTime? DataLiquidacao { get; set; } + + [Description("DATA DO SINISTRO")] + public DateTime? DataSinistro { get; set; } + + [Description("OBSERVAÇÃO DO SINISTRO")] + public string ObsSinistro { get; set; } + + [Description("MOTIVO DO SINISTRO")] + public string MotivoSinistro { get; set; } + + [Description("VALOR DO SINISTRO")] + public decimal? ValorSinistro { get; set; } + + [Description("VALOR FRANQUIA")] + public decimal? ValorFranquiaSinistro { get; set; } + + [Description("VALOR ORÇADO")] + public decimal? ValorOrcado { get; set; } + + [Description("VALOR LIBERADO")] + public decimal? ValorLiberado { get; set; } + + [Description("VALOR PAGO")] + public decimal? ValorPago { get; set; } + + [Description("VALOR SALVO")] + public decimal? ValorSalvo { get; set; } + + [Description("TIPO DA PROSPECÇÃO")] + public string TipoProspeccao { get; set; } + + [Description("OBSERVAÇÕES DA PROSPECÇÃO")] + public string ObsProspeccao { get; set; } + + [Description("TITULO DA TAREFA")] + public string TituloTarefa { get; set; } + + [Description("DESCRIÇÃO DA TAREFA")] + public string DescricaoTarefa { get; set; } + + [Description("AGENDAMENTO DA TAREFA")] + public DateTime? AgendamentoTarefa { get; set; } + + [Description("BENS/CONSORCIO")] + public string BensConsorcio { get; set; } + + [Description("GRUPO")] + public string Grupo { get; set; } + + [Description("COTA")] + public string Cota { get; set; } + + [Description("VALOR CRÉDITO")] + public decimal? ValorCredito { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModel.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModel.cs new file mode 100644 index 0000000..2afa8f4 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModel.cs @@ -0,0 +1,10 @@ +namespace Gestor.Model.Domain.Relatorios; + +public class SinteticModel +{ + public string Hint { get; set; } + + public object Value { get; set; } + + public string DescriptionField { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModelList.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModelList.cs new file mode 100644 index 0000000..fd06065 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticModelList.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; + +namespace Gestor.Model.Domain.Relatorios; + +public class SinteticModelList +{ + public string Hint { get; set; } + + public List<object> Value { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/Sintetico.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/Sintetico.cs new file mode 100644 index 0000000..9c1acce --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/Sintetico.cs @@ -0,0 +1,253 @@ +using System.ComponentModel; +using Gestor.Model.Attributes; + +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")] + [Tipo("VALOR")] + [Description("PRÊMIO TOTAL")] + public decimal? PremioTotal { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("PRÊMIO LÍQUIDO")] + public decimal? PremioLiquido { get; set; } + + [Category("SEGUROS")] + [Tipo("PERCENTUAL")] + [Description("MÉDIA DE COMISSÃO PONDERADA")] + public decimal? MediaPonderada { get; set; } + + [Category("SEGUROS")] + [Tipo("PERCENTUAL")] + [Description("MÉDIA DE COMISSÃO FECHADA")] + public decimal? MediaComissao { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("TOTAL DE COMISSÃO GERADA")] + public decimal? ComissaoGerada { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE NOVOS NEGÓCIOS")] + public int? Novos { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE NEGÓCIOS PRÓPRIOS")] + public int? NegociosProprios { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE RENOVAÇÕES")] + public int? Renovacoes { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE SEGUROS NOVOS")] + public int? SegurosNovos { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE CANCELAMENTOS")] + public int? Cancelamentos { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE APÓLICES")] + public int? Apolices { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE ENDOSSOS")] + public int? Endossos { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE FATURAS (DOCUMENTOS)")] + public int? Faturas { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE CLIENTES")] + public int? TotalClientes { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL GERAL")] + public int? TotalGeral { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE TERCEIROS")] + public int? TotalTerceiros { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("COMISSÃO RECEBIDA BRUTA")] + public decimal? ComissaoRecebidaBruta { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("COMISSÃO RECEBIDA LÍQUIDA")] + public decimal? ComissaoRecebidaLiquida { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("IMPOSTOS")] + public decimal? Impostos { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("REPASSE")] + public decimal? Repasse { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("COMISSÃO PREVISTA")] + public decimal? ComissaoPrevista { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("TOTAL PREVISTO")] + public decimal? TotalPrevista { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR")] + public decimal? Valor { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR ORÇADO")] + public decimal? ValorOrcado { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR LIBERADO")] + public decimal? ValorLiberado { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR SALVADO")] + public decimal? ValorSalvado { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR FRANQUIA")] + public decimal? ValorFranquia { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR PAGO")] + public decimal? ValorPago { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE LIQUIDADO")] + public int? Liquidado { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("VALOR LIQUIDADO")] + public decimal? ValorLiquidado { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE PENDENTE")] + public int? Pendente { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("COMISSÃO PENDENTE")] + public decimal? ComissaoPendente { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("VALOR LÍQUIDO")] + public decimal? ValorLiquido { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("VALOR PARCELA")] + public decimal? ValorParcela { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE LÍQUIDO")] + public int? TotalLiquido { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("QUANTIDADE DE PROSPECÇÕES")] + public int? TotalProspeccao { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("META ATINGIR")] + public decimal? MetaAtingir { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("META CUMPRIDA")] + public decimal? MetaCumprida { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE CLIENTES ATIVOS")] + public int? TotalClientesAtivos { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE CLIENTES INATIVOS")] + public int? TotalClientesInativos { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("ISS")] + public decimal? Iss { get; set; } + + [Category("SEGUROS")] + [Tipo("PERCENTUAL")] + [Description("% CUMPRIDA")] + public decimal? Meta { get; set; } + + [Category("SEGUROS")] + [Tipo("QUANTIDADE")] + [Description("TOTAL DE TAREFAS")] + public int? TotalTarefas { get; set; } + + [Category("SEGUROS")] + [Tipo("VALOR")] + [Description("TOTAL PARCELAS")] + public decimal? TotalParcela { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("VALOR BRUTO")] + public decimal? ValorBruto { get; set; } + + [Category("FINANCEIRO")] + [Tipo("VALOR")] + [Description("ISS")] + public decimal? ValorIss { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticoFinanceiro.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticoFinanceiro.cs new file mode 100644 index 0000000..3a07bc6 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/SinteticoFinanceiro.cs @@ -0,0 +1,18 @@ +using System.ComponentModel; +using Gestor.Model.Attributes; + +namespace Gestor.Model.Domain.Relatorios; + +public class SinteticoFinanceiro +{ + [Description("AGRUPAMENTO")] + public string Agrupamento { get; set; } + + [Tipo("VALOR")] + [Description("VALOR")] + public decimal? Valor { get; set; } + + [Tipo("VALOR")] + [Description("VALOR PAGO")] + public decimal? ValorPago { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/StatusRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/StatusRelatorio.cs new file mode 100644 index 0000000..57bf72d --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/StatusRelatorio.cs @@ -0,0 +1,37 @@ +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class StatusRelatorio : INotifyPropertyChanged +{ + private bool _selecionado; + + public bool Selecionado + { + get + { + return _selecionado; + } + set + { + if (value != _selecionado) + { + _selecionado = value; + OnPropertyChanged("Selecionado"); + } + } + } + + public int Id { get; set; } + + public TipoSeguro Status { get; set; } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/TipoRelatorio.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/TipoRelatorio.cs new file mode 100644 index 0000000..dbee881 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/TipoRelatorio.cs @@ -0,0 +1,12 @@ +using System; + +namespace Gestor.Model.Domain.Relatorios; + +public class TipoRelatorio +{ + public string Nome { get; set; } + + public DateTime Inicio { get; set; } + + public DateTime Fim { get; set; } +} diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios/ValorSintetico.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios/ValorSintetico.cs new file mode 100644 index 0000000..df63ff5 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios/ValorSintetico.cs @@ -0,0 +1,20 @@ +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Relatorios; + +public class ValorSintetico +{ + public string NomeRelatorio { get; set; } + + public string Indice { get; set; } + + public decimal Valor { get; set; } + + public string Unidate { get; set; } + + public string Porcentagem { get; set; } + + public string Formato { get; set; } + + public Sinal Sinal { get; set; } +} |