RequirementExamineDetailDto.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 需求明细核验列表查询
  4. /// </summary>
  5. public class RequirementExamineDetailListInput
  6. {
  7. public int Page { get; set; } = 1;
  8. public int PageSize { get; set; } = 20;
  9. /// <summary>订单编号(模糊)</summary>
  10. public string? BillNo { get; set; }
  11. /// <summary>工单编号(模糊)</summary>
  12. public string? MorderNo { get; set; }
  13. /// <summary>物料代码(精确)</summary>
  14. public string? ItemNumber { get; set; }
  15. /// <summary>排序字段:Sno | RowId | BillNo | MorderNo | ItemNumber | KittingTime(默认 bce.id ASC)</summary>
  16. public string? OrderBy { get; set; }
  17. /// <summary>asc / desc</summary>
  18. public string? Sort { get; set; }
  19. }
  20. /// <summary>列表行(与查询别名一致,供 SqlSugar Ado 映射)</summary>
  21. public class RequirementExamineDetailRow
  22. {
  23. public long RowId { get; set; }
  24. public long? ParentRowId { get; set; }
  25. public long Sno { get; set; }
  26. /// <summary>项次号(库中可能为字符型,统一按字符串输出避免映射失败)</summary>
  27. public string Num { get; set; }
  28. public string ItemNumber { get; set; }
  29. public string ItemName { get; set; }
  30. public string BomNumber { get; set; }
  31. public string Model { get; set; }
  32. public string KittingTime { get; set; }
  33. public string Type { get; set; }
  34. public string ErpClsName { get; set; }
  35. public decimal? Qty { get; set; }
  36. public decimal? Wastage { get; set; }
  37. public decimal? NeedCount { get; set; }
  38. public decimal? Sqty { get; set; }
  39. public decimal? UseQty { get; set; }
  40. public decimal? SelfLackQty { get; set; }
  41. public decimal? LackQty { get; set; }
  42. public decimal? MoQty { get; set; }
  43. public decimal? MakeQty { get; set; }
  44. public decimal? PurchaseQty { get; set; }
  45. public decimal? PurchaseOccupyQty { get; set; }
  46. public string SatisfyTime { get; set; }
  47. public string HaveIcSubs { get; set; }
  48. public string SubstituteCode { get; set; }
  49. public string BillNo { get; set; }
  50. public string MorderNo { get; set; }
  51. public DateTime? CreateTime { get; set; }
  52. }