From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../IItemRepository.cs | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs') diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs new file mode 100644 index 0000000..04578fa --- /dev/null +++ b/Codemerx/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 + { + Task> BuscaItensPorObs(string pesquisa, FiltroStatusDocumento status, List vendedorVinculado, TipoPesquisa tipo, bool tipobusca = false); + + Cliente BuscarCliente(long id); + + int ChecarQuantidade(long idDocumento); + + void Delete(long id); + + void DeleteRange(List ids); + + List FindByDocumentsIds(long id, StatusItem status = 0, bool sinistroCompleto = false); + + Item FindById(long id); + + List FindByIds(List ids); + + List FindItens(long id, StatusItem status); + + List FindItens(List documento); + + List FindItens(long id); + + List FindItens(List ids); + + int FindNextItem(long id); + + Item Merge(Item empresa); + + Item SaveOrUpdate(Item empresa); + } +} \ No newline at end of file -- cgit v1.2.3