31 lines
1.5 KiB
C#
31 lines
1.5 KiB
C#
using CPRNIMS.Infrastructure.Dto.Inventory;
|
|
using CPRNIMS.Infrastructure.Dto.Inventory.Request;
|
|
using CPRNIMS.Infrastructure.Dto.Inventory.Response;
|
|
using CPRNIMS.Infrastructure.Entities.Inventory;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CPRNIMS.Domain.Contracts.Inventory
|
|
{
|
|
public interface IInventory
|
|
{
|
|
Task<List<Lot>> GetLotNo(InventoryDto itemDto);
|
|
Task<List<Lot>> GetLotNoById(InventoryDto itemDto);
|
|
Task<List<LotQtyByItem>> GetLotQtyByItem(InventoryDto itemDto);
|
|
Task<List<Infrastructure.Entities.Inventory.Inventory>> GetInventoryByUserId(InventoryDto itemDto);
|
|
Task<List<RequestItemDetail>> GetRequestedItemByUserId(InventoryDto itemDto);
|
|
Task<List<ItemDetail>> GetInventoryById(InventoryDto itemDto);
|
|
Task<PagedResult<InventoryResponse>> GetInventory(InventoryRequest request, CancellationToken ct);
|
|
Task<List<InventoryByIdResponse>> GetInventoryById(InventoryRequest itemDto, CancellationToken ct);
|
|
Task<TransactContextDto?> GetTransactContextAsync(int inventoryId, CancellationToken ct);
|
|
Task<IReadOnlyList<DisciplineDto>> GetDisciplinesAsync(CancellationToken ct);
|
|
Task<Infrastructure.Entities.Inventory.Inventory> PostPutReqApproval(InventoryDto itemDto);
|
|
Task<RequestItem> PostPutReqItems(InventoryDto itemDto);
|
|
Task<Lot> PostPutLotNo(InventoryDto itemDto);
|
|
Task<ItemDetail> PostPutLotBin(InventoryDto itemDto);
|
|
}
|
|
}
|