namespace Admin.NET.Plugin.AiDOP.Universal;
// ─────────────────────────── 查询入参 ───────────────────────────
/// 客户通用选择 — 分页查询入参
public class UniversalCustomerPageInput
{
/// 当前页码
public int Page { get; set; } = 1;
/// 页码容量
public int PageSize { get; set; } = 10;
/// 客户编号(模糊匹配)
public string? CustNo { get; set; }
/// 客户简称(模糊匹配)
public string? SortName { get; set; }
/// 排序字段(前端 prop 名,如 cust / sortName)
public string? SortField { get; set; }
/// 排序方向:asc / desc
public string? SortOrder { get; set; }
}
// ─────────────────────────── 查询输出 ───────────────────────────
/// 客户通用选择 — 单行输出
public class UniversalCustomerOutput
{
/// 客户编号
public string? Cust { get; set; }
/// 客户简称
public string? SortName { get; set; }
/// 自增主键
public string? Id { get; set; }
}