Files
WMSlite/WmsLite.Api/Dtos/Inventory/InventoryMoveRequest.cs
T
zhougfandCursor fa1b286463 Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
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>
2026-05-24 14:17:47 +08:00

24 lines
574 B
C#

using System.ComponentModel.DataAnnotations;
using WmsLite.Api.Dtos.Common;
using WmsLite.Api.Enums;
namespace WmsLite.Api.Dtos.Inventory;
public class InventoryMoveRequest : TenantOwnerRequest
{
[Range(1, long.MaxValue)]
public long InventoryId { get; set; }
[Required]
public InventoryMoveAction MovementType { get; set; }
[Range(typeof(decimal), "0.000001", "9999999999999999")]
public decimal Qty { get; set; }
[StringLength(128)]
public string? BizNo { get; set; }
[StringLength(512)]
public string? Remark { get; set; }
}