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>
10 lines
258 B
C#
10 lines
258 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WmsLite.Api.Dtos.Inventory;
|
|
|
|
public class InventoryUpdateRequest : InventoryMutationRequestBase
|
|
{
|
|
[Range(1, long.MaxValue, ErrorMessage = "Id 必须大于 0。")]
|
|
public long Id { get; set; }
|
|
}
|