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>
15 lines
389 B
C#
15 lines
389 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WmsLite.Api.Dtos.Common;
|
|
|
|
public class TenantOwnerQuery
|
|
{
|
|
[Required(ErrorMessage = "TenantId is required.")]
|
|
[StringLength(64)]
|
|
public string TenantId { get; set; } = string.Empty;
|
|
|
|
[Required(ErrorMessage = "OwnerCode is required.")]
|
|
[StringLength(64)]
|
|
public string OwnerCode { get; set; } = string.Empty;
|
|
}
|