diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
| commit | 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch) | |
| tree | e1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs | |
| parent | 674ca83ba9243a9e95a7568c797668dab6aee26a (diff) | |
| download | gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip | |
chore: location
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs')
| -rw-r--r-- | Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs new file mode 100644 index 0000000..277a960 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs @@ -0,0 +1,68 @@ +using Gestor.Infrastructure.Entities.Seguros;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Common;
+using Gestor.Model.Domain.Relatorios;
+using Gestor.Model.Domain.Relatorios.Fechamento;
+using Gestor.Model.Domain.Seguros;
+using Gestor.Model.License;
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IDocumentoRepository : IGenericRepository<DocumentoDb>
+ {
+ bool AtualizarNumero(long id, string numero, string endosso, int tipoDocumento);
+
+ List<Documento> Auditoria(Filtros filtro);
+
+ Task<List<Documento>> BuscaDocumentosPorVigencia(Filtros filtro, bool buscaAssinaturas = false, bool painelBi = false);
+
+ List<Documento> BuscarDocumentoPorEstipulante(long id);
+
+ List<Documento> BuscarDocumentoPorStatus(long id);
+
+ string BuscarLogAntigo(long id, string conn);
+
+ List<PlanilhaCompleta> BuscarPlanilhaCompletaProspeccao(List<long> ids);
+
+ int Cotacoes(Filtros filtro);
+
+ void Delete(long id);
+
+ Task<List<Fechamento>> Fechamento(Filtros filtro);
+
+ List<Documento> FindApolice(string pesquisa, FiltroStatusDocumento status, List<VendedorUsuario> vendedorVinculado, string campo, long idempresa = 0L, bool vendedorembranco = false, bool tipobusca = false);
+
+ List<Documento> FindApoliceByCustomer(long idCliente, FiltroStatusDocumento status, List<VendedorUsuario> vendedorVinculado, List<Licenca> licencas, bool endosso = false, bool acessoAgger = false, bool vendedorembranco = false);
+
+ List<Documento> FindByControle(long id);
+
+ Documento FindById(long id, bool itens = false, bool sinistrosPorControle = false);
+
+ Documento FindById(long id, List<VendedorUsuario> vendedorVinculado);
+
+ List<Documento> FindByIds(List<long> ids);
+
+ List<Documento> FindByLicenciamento(Filtros filtro);
+
+ List<Documento> FindByParcelaIds(List<long> ids);
+
+ List<Documento> FindByPlaca(Filtros filtro);
+
+ List<Documento> FindByVigenciaFinal(Filtros filtro, List<Licenca> licencas, bool somarPremios);
+
+ Task<List<Documento>> FindEndossoByVigencia(Filtros filtro, bool buscarAssinatura = false);
+
+ List<Documento> FindPendenciasByVigencia(Filtros filtro);
+
+ Documento Merge(Documento documento);
+
+ void SalvarAssistencia(string id, long idcontrole);
+
+ Documento SaveOrUpdate(Documento documento);
+
+ void TrocarCliente(Controle controle, Cliente cliente);
+ }
+}
\ No newline at end of file |