diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
| commit | 674ca83ba9243a9e95a7568c797668dab6aee26a (patch) | |
| tree | 4a905b3fb1d827665a34d63f67bc5559f8e7235b /Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs | |
| download | gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.tar.gz gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.zip | |
feat: upload files
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs new file mode 100644 index 0000000..e65df00 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs @@ -0,0 +1,72 @@ +using Gestor.Infrastructure.Entities.Seguros;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Common;
+using Gestor.Model.Domain.Ferramentas;
+using Gestor.Model.Domain.Relatorios;
+using Gestor.Model.Domain.Relatorios.Classificacao;
+using Gestor.Model.Domain.Relatorios.ClientesAtivosInativos;
+using Gestor.Model.Domain.Relatorios.Dashboard;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IClienteRepository : IGenericRepository<ClienteDb>
+ {
+ void AddCentralSegurado(long id, bool update);
+
+ Task<IEnumerable<ClientesAtivosInativos>> BuscaClientes(bool completo, long idempresa);
+
+ Task<IEnumerable<ClientesAtivosInativos>> BuscaClientesVinculo(bool completo, List<VendedorUsuario> vinculo, long idempresa);
+
+ DateTime? BuscaNascimeto(long id);
+
+ Task<List<Prospectar>> BuscaProspeccoes(Filtros filtro, long idEmpresa = 0L);
+
+ List<ClientesAtivosInativos> BuscarAniversariantes(Filtros filtro, long idempresa = 0L);
+
+ List<ClientesAtivosInativos> BuscarAniversariantesVinculo(Filtros filtro, List<VendedorUsuario> vinculo, long idempresa = 0L);
+
+ Task<List<Classificacao>> BuscarClassificacoes(long id);
+
+ string BuscarLogAntigo(long id, string connection);
+
+ List<OrigemCliente> BuscarOrigem(long id);
+
+ List<ClientesAtivosInativos> BuscarVencimentoCnh(Filtros filtro, long idempresa = 0L);
+
+ void Delete(long id);
+
+ void DeleteOrigem(long id);
+
+ List<Cliente> Find(string filter, long idempresa = 0L, bool acessoAgger = false, bool assintatura = false);
+
+ List<ClientesAtivosInativos> FindAllClientes(bool completo, long idempresa = 0L);
+
+ Cliente FindById(long id);
+
+ List<Cliente> FindByName(string filter, long idempresa = 0L, bool acessoAgger = false, bool assintatura = false, bool somenteNome = false);
+
+ List<Cliente> FindClienteDocumento(string documento);
+
+ List<Cliente> FindClienteVinculo(string filter, List<long> vinculos, long idempresa = 0L, bool acessoAgger = false, bool assinatura = false, TipoFiltroCliente tipoFiltroCliente = 2);
+
+ List<Cliente> FindObsCliente(string obsCliente, long idempresa = 0L);
+
+ List<Cliente> FindPastaCliente(string pastaCliente, bool busca = false, long idempresa = 0L);
+
+ List<Cliente> FindVinculo(string filter, long id);
+
+ Cliente Merge(Cliente cliente);
+
+ OrigemCliente Merge(OrigemCliente origem);
+
+ Cliente SaveOrUpdate(Cliente cliente);
+
+ OrigemCliente SaveOrUpdate(OrigemCliente origem);
+
+ List<OrigemCliente> Sincronize(List<OrigemCliente> origens, long id);
+ }
+}
\ No newline at end of file |