namespace Admin.NET.Plugin.AiDOP.Order; /// /// 需求明细核验列表查询 /// public class RequirementExamineDetailListInput { public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; /// 订单编号(模糊) public string? BillNo { get; set; } /// 工单编号(模糊) public string? MorderNo { get; set; } /// 物料代码(精确) public string? ItemNumber { get; set; } /// 排序字段:Sno | RowId | BillNo | MorderNo | ItemNumber | KittingTime(默认 bce.id ASC) public string? OrderBy { get; set; } /// asc / desc public string? Sort { get; set; } } /// 列表行(与查询别名一致,供 SqlSugar Ado 映射) public class RequirementExamineDetailRow { public long RowId { get; set; } public long? ParentRowId { get; set; } public long Sno { get; set; } /// 项次号(库中可能为字符型,统一按字符串输出避免映射失败) public string Num { get; set; } public string ItemNumber { get; set; } public string ItemName { get; set; } public string BomNumber { get; set; } public string Model { get; set; } public string KittingTime { get; set; } public string Type { get; set; } public string ErpClsName { get; set; } public decimal? Qty { get; set; } public decimal? Wastage { get; set; } public decimal? NeedCount { get; set; } public decimal? Sqty { get; set; } public decimal? UseQty { get; set; } public decimal? SelfLackQty { get; set; } public decimal? LackQty { get; set; } public decimal? MoQty { get; set; } public decimal? MakeQty { get; set; } public decimal? PurchaseQty { get; set; } public decimal? PurchaseOccupyQty { get; set; } public string SatisfyTime { get; set; } public string HaveIcSubs { get; set; } public string SubstituteCode { get; set; } public string BillNo { get; set; } public string MorderNo { get; set; } public DateTime? CreateTime { get; set; } }