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>
24 lines
574 B
C#
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; }
|
|
}
|