2026-05-07 20:47:34 -03:00
|
|
|
using Domain.Dtos.Sales;
|
|
|
|
|
using Domain.Entities;
|
2026-06-03 09:00:56 -03:00
|
|
|
using Domain.Generics;
|
2026-05-07 20:47:34 -03:00
|
|
|
|
|
|
|
|
namespace Models.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IPhSSalesDocumentRepository
|
|
|
|
|
{
|
2026-06-03 09:00:56 -03:00
|
|
|
Task<PagedResult<SalesDocumentSummaryDto>> SearchAsync(
|
|
|
|
|
int? customerId,
|
|
|
|
|
string? customerText,
|
|
|
|
|
int? quoteId,
|
|
|
|
|
int? documentType,
|
|
|
|
|
int? status,
|
|
|
|
|
DateTime? issueDateFrom,
|
|
|
|
|
DateTime? issueDateTo,
|
|
|
|
|
int page = 1,
|
|
|
|
|
int pageSize = 50);
|
|
|
|
|
|
2026-05-07 20:47:34 -03:00
|
|
|
Task<ESalesDocument> CreateAsync(ESalesDocument entity);
|
|
|
|
|
Task<SalesDocumentDto?> GetDtoByIdAsync(int id);
|
|
|
|
|
}
|
|
|
|
|
}
|