Files
WMSlite/WmsLite.Api/Repositories/Interfaces/IInventoryRepository.cs
T
2026-06-01 23:30:36 +08:00

34 lines
931 B
C#

using System.Threading.Tasks;
using WmsLite.Api.Common;
using WmsLite.Api.Dtos.Inventory;
using WmsLite.Api.Enums;
using WmsLite.Api.Models;
namespace WmsLite.Api.Repositories.Interfaces;
public interface IInventoryRepository : IBaseRepository<Inventory>
{
Task<PagedResult<Inventory>> GetPagedListAsync(InventoryPagedQuery query);
Task<Inventory?> GetByStockKeyAsync(
string tenantId,
string ownerCode,
string warehouseCode,
string areaCode,
string zoneCode,
string locationCode,
InventoryKind inventoryKind,
string? materialCode,
string? containerCode);
Task<List<Inventory>> GetAllocatableAsync(
string tenantId,
string ownerCode,
string warehouseCode,
string areaCode,
InventoryKind inventoryKind,
string? materialCode,
string? containerCode,
string? locationCode = null);
}