phronCare/Core/Interfaces/Stock/IExpeditionDom.cs

30 lines
930 B
C#
Raw Normal View History

2025-09-04 18:15:15 -03:00
using Domain.Dtos.Stock;
using Domain.Entities;
2025-09-05 16:31:58 -03:00
using Domain.Generics;
2025-09-04 18:15:15 -03:00
namespace Core.Interfaces.Stock
{
// 1.2 Domain (Core)
public interface IExpeditionDom
{
2025-09-05 16:31:58 -03:00
Task<PagedResult<ExpeditionDto>> SearchAsync(
string? expeditionNumber,
string? status,
DateTime? issueDateFrom,
DateTime? issueDateTo,
int? locationId,
int page,
int pageSize);
2025-09-04 18:15:15 -03:00
Task<ExpeditionDto?> GetDtoByIdAsync(int id);
2025-09-05 16:31:58 -03:00
Task<ExpeditionDto?> GetDtoByExpeditionNumberAsync(string expeditionNumber);
Task<(int Id, string ExpeditionNumber)> CreateAndIssueAsync(
ELSExpeditionHeader header,
IEnumerable<ELSExpeditionDetail> details,
int formSeriesId);
2025-09-09 23:54:11 -03:00
Task<byte[]> ExportFilteredToExcelAsync(ExpeditionSearchParams searchParams);
Task MarkInTransitAsync(int expeditionId);
2025-09-04 18:15:15 -03:00
}
}