34 lines
931 B
C#
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);
|
|
}
|