OutsourceOrderDto.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. namespace Admin.NET.Plugin.AiDOP.Supply;
  2. public class OutsourceOrderListInput
  3. {
  4. public int Page { get; set; } = 1;
  5. public int PageSize { get; set; } = 10;
  6. public string? PurOrd { get; set; }
  7. public string? Buyer { get; set; }
  8. public string? Supp { get; set; }
  9. public string? SortField { get; set; }
  10. public string? SortOrder { get; set; }
  11. }
  12. public class OutsourceOrderSaveInput
  13. {
  14. public int? Id { get; set; }
  15. public string? PurOrd { get; set; }
  16. public string? OrdDate { get; set; }
  17. public string? Supp { get; set; }
  18. public string? ReqBy { get; set; }
  19. public string? Buyer { get; set; }
  20. public string? Department { get; set; }
  21. public string? Usage { get; set; }
  22. public string? Remark { get; set; }
  23. }
  24. public class OutsourceOrderDetailListInput
  25. {
  26. public int Page { get; set; } = 1;
  27. public int PageSize { get; set; } = 10;
  28. public string? PurOrd { get; set; }
  29. public string? ItemNum { get; set; }
  30. public string? Location { get; set; }
  31. public string? WorkOrd { get; set; }
  32. public string? LotSerial { get; set; }
  33. public string? SortField { get; set; }
  34. public string? SortOrder { get; set; }
  35. }
  36. public class OutsourceOrderDetailSaveInput
  37. {
  38. public int? Id { get; set; }
  39. public int PurOrdRecID { get; set; }
  40. public string PurOrd { get; set; } = string.Empty;
  41. public int? Line { get; set; }
  42. public string? ItemNum { get; set; }
  43. public decimal? QtyOrded { get; set; }
  44. public string? DueDate { get; set; }
  45. public string? Potype { get; set; }
  46. public List<OutsourceOrderDetailBatchInput> Batches { get; set; } = new();
  47. }
  48. public class OutsourceOrderDetailBatchInput
  49. {
  50. public int? Batch { get; set; }
  51. public string? ItemNum { get; set; }
  52. public string? SuppItem { get; set; }
  53. public string? UM { get; set; }
  54. public string? Location { get; set; }
  55. public decimal? QtyOrded { get; set; }
  56. public decimal? QtyBO { get; set; }
  57. public decimal? QtyReleased { get; set; }
  58. public decimal? QtyReceived { get; set; }
  59. public decimal? QtyReturned { get; set; }
  60. public string? LotSerial { get; set; }
  61. }
  62. public class ItemSelectListInput
  63. {
  64. public int Page { get; set; } = 1;
  65. public int PageSize { get; set; } = 10;
  66. public string? ItemNum { get; set; }
  67. public string? Descr { get; set; }
  68. public string? SortField { get; set; }
  69. public string? SortOrder { get; set; }
  70. }