Files
WMSlite/WmsLite.Api/Dtos/Inventory/InventoryMoveRequest.cs
T
2026-05-31 01:03:55 +08:00

24 lines
553 B
C#

using System.ComponentModel.DataAnnotations;
using WmsLite.Api.Dtos.Common;
using WmsLite.Api.Enums;
namespace WmsLite.Api.Dtos.Inventory;
public class InventoryMoveRequest
{
[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; }
}