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>
23 lines
546 B
C#
23 lines
546 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using WmsLite.Api.Dtos.Common;
|
|
|
|
namespace WmsLite.Api.Dtos.Material;
|
|
|
|
public class MaterialPagedQuery : BasePagedQuery
|
|
{
|
|
[StringLength(64)]
|
|
public string? Code { get; set; }
|
|
|
|
[StringLength(256)]
|
|
public string? Name { get; set; }
|
|
|
|
[StringLength(512)]
|
|
public string? Spec { get; set; }
|
|
|
|
/// <summary>
|
|
/// 同时模糊匹配编码或名称(与单独 Code、Name 条件可叠加)。
|
|
/// </summary>
|
|
[StringLength(128)]
|
|
public string? Keyword { get; set; }
|
|
}
|