Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
950 B
C#
23 lines
950 B
C#
using System.Threading.Tasks;
|
|
using WmsLite.Api.Enums;
|
|
using WmsLite.Api.Models;
|
|
|
|
namespace WmsLite.Api.Services.Interfaces;
|
|
|
|
public interface IInventoryMovementService
|
|
{
|
|
Task ApplySnapshotAsync(Inventory inventory, Inventory? existing, InventoryMovementType movementType, string? bizNo = null);
|
|
|
|
Task PendingInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
|
|
Task ConfirmInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
|
|
Task PendingOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
|
|
Task ConfirmOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
|
|
Task FreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
|
|
Task UnfreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
|
|
}
|