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; } }