2026-03-20 23:03:46 -03:00
|
|
|
using Domain.Dtos.Sales;
|
|
|
|
|
using Domain.Generics;
|
2026-03-17 10:08:51 -03:00
|
|
|
|
|
|
|
|
namespace Models.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IPhSDeliveryNoteRepository
|
|
|
|
|
{
|
2026-03-20 23:03:46 -03:00
|
|
|
Task<PagedResult<DeliveryNoteSummaryDto>> SearchAsync(
|
|
|
|
|
int? customerId,
|
|
|
|
|
string? customerText,
|
|
|
|
|
string? deliveryNoteNumber,
|
|
|
|
|
int? quoteId,
|
|
|
|
|
string? quoteNumber,
|
|
|
|
|
DateTime? issueDateFrom,
|
|
|
|
|
DateTime? issueDateTo,
|
|
|
|
|
string? status,
|
|
|
|
|
int page = 1,
|
|
|
|
|
int pageSize = 50);
|
|
|
|
|
|
2026-03-19 17:41:49 -03:00
|
|
|
Task<DeliveryNoteDto?> GetDtoByIdAsync(int id);
|
|
|
|
|
Task<DeliveryNoteDto?> GetDtoByDeliveryNoteNumberAsync(string deliveryNoteNumber);
|
|
|
|
|
Task<IEnumerable<DeliveryNoteDto>> GetDtosByQuoteIdAsync(int quoteId);
|
2026-03-17 10:08:51 -03:00
|
|
|
}
|
|
|
|
|
}
|