All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 20m38s
Closes #5
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using Domain.Dtos.Stock;
|
|
using Domain.Generics;
|
|
|
|
namespace Models.Interfaces
|
|
{
|
|
public interface IPhLSMStockItemRepository
|
|
{
|
|
Task<PagedResult<StockItemScanResultDto>> SearchStockItemsAsync(
|
|
string? codeOrText,
|
|
string? batch,
|
|
int? locationId,
|
|
int? productType,
|
|
int? traceabilityType,
|
|
bool? plusProcess,
|
|
int page,
|
|
int take
|
|
);
|
|
// Búsqueda con datos parseados (GS1/DataMatrix)
|
|
Task<PagedResult<StockItemScanResultDto>> SearchStockItemsParsedAsync(
|
|
string? gtin,
|
|
string? batch,
|
|
DateOnly? expiration,
|
|
string? serial, // reservado (si agregás columna Serial en StockItem)
|
|
int? locationId,
|
|
int page,
|
|
int take);
|
|
|
|
// Obtener disponibilidad por IDs de StockItem
|
|
Task<List<StockItemAvailabilityDto>> GetAvailabilityByStockItemIdsAsync(
|
|
IEnumerable<int> stockItemIds);
|
|
}
|
|
}
|