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>
21 lines
540 B
C#
21 lines
540 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using WmsLite.Api.Dtos.Common;
|
|
|
|
namespace WmsLite.Api.Dtos.Container;
|
|
|
|
public class ContainerSaveRequest : TenantOwnerRequest
|
|
{
|
|
[Required(ErrorMessage = "容器编码不能为空。")]
|
|
[StringLength(64)]
|
|
public string Code { get; set; } = string.Empty;
|
|
|
|
[StringLength(256)]
|
|
public string? Name { get; set; }
|
|
|
|
[StringLength(64)]
|
|
public string? ContainerType { get; set; }
|
|
|
|
public Dictionary<string, object>? Attrs { get; set; }
|
|
}
|