diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs new file mode 100644 index 0000000..04578fa --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs @@ -0,0 +1,44 @@ +using Gestor.Infrastructure.Entities.Seguros;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Common;
+using Gestor.Model.Domain.Common;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IItemRepository : IGenericRepository<ItemDb>
+ {
+ Task<List<PesquisaAvancada>> BuscaItensPorObs(string pesquisa, FiltroStatusDocumento status, List<VendedorUsuario> vendedorVinculado, TipoPesquisa tipo, bool tipobusca = false);
+
+ Cliente BuscarCliente(long id);
+
+ int ChecarQuantidade(long idDocumento);
+
+ void Delete(long id);
+
+ void DeleteRange(List<long> ids);
+
+ List<Item> FindByDocumentsIds(long id, StatusItem status = 0, bool sinistroCompleto = false);
+
+ Item FindById(long id);
+
+ List<Item> FindByIds(List<long> ids);
+
+ List<Item> FindItens(long id, StatusItem status);
+
+ List<Item> FindItens(List<Documento> documento);
+
+ List<Item> FindItens(long id);
+
+ List<Item> FindItens(List<long> ids);
+
+ int FindNextItem(long id);
+
+ Item Merge(Item empresa);
+
+ Item SaveOrUpdate(Item empresa);
+ }
+}
\ No newline at end of file |