All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m24s
26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
using Domain.Entities;
|
|
using Domain.Generics;
|
|
|
|
namespace Models.Interfaces
|
|
{
|
|
public interface IPhSQuoteHeaderRepository
|
|
{
|
|
Task<PagedResult<EQuoteHeader>> GetAllAsync(int page = 1, int pageSize = 50);
|
|
Task<EQuoteHeader?> GetByIdAsync(int id);
|
|
Task<IEnumerable<EQuoteHeader>> GetByCustomerIdAsync(int customerId);
|
|
Task<PagedResult<EQuoteHeader>> SearchAsync(int? customerId, string? quoteNumber, int? professionalId,
|
|
int? institutionId, int? patientId, DateTime? issueDateFrom, DateTime? issueDateTo, string? status,
|
|
int page = 1, int pageSize = 50);
|
|
|
|
Task<EQuoteHeader> AddAsync(EQuoteHeader quoteHeader);
|
|
Task UpdateAsync(EQuoteHeader quoteHeader);
|
|
Task DeleteAsync(int id);
|
|
|
|
// Ajustes
|
|
Task<IEnumerable<EQuoteAdjustment>> GetAdjustmentsByQuoteIdAsync(int quoteId);
|
|
Task<EQuoteAdjustment> AddAdjustmentAsync(EQuoteAdjustment adjustment);
|
|
Task UpdateAdjustmentAsync(EQuoteAdjustment adjustment);
|
|
Task DeleteAdjustmentAsync(int adjustmentId);
|
|
}
|
|
}
|