ProcurementExecutionDto.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Admin.NET.Plugin.AiDOP.ProcurementExecution.Dto;
  3. public class SupplierDeliveryListInput
  4. {
  5. public int Page { get; set; } = 1;
  6. public int PageSize { get; set; } = 10;
  7. public string? Cgdd { get; set; }
  8. public string? DsNum { get; set; }
  9. public string? Wlbm { get; set; }
  10. public string? Gys { get; set; }
  11. public string? SortField { get; set; }
  12. public string? SortOrder { get; set; }
  13. }
  14. public class SupplierDeliveryBatchInput
  15. {
  16. [Required(ErrorMessage = "ids不能为空")]
  17. public string Ids { get; set; } = string.Empty;
  18. }
  19. public class DeliveryCloseInput
  20. {
  21. [Required(ErrorMessage = "交货单号不能为空")]
  22. public string DsNum { get; set; } = string.Empty;
  23. }
  24. public class SupplierShipmentListInput
  25. {
  26. public int Page { get; set; } = 1;
  27. public int PageSize { get; set; } = 10;
  28. public string? JhshrqFrom { get; set; }
  29. public string? Gysmc { get; set; }
  30. public string? Shddh { get; set; }
  31. public string? Wldh { get; set; }
  32. public string? PoBill { get; set; }
  33. public string? ShMaterialCode { get; set; }
  34. public string? Shzt { get; set; }
  35. public string? Shpc { get; set; }
  36. public string? SortField { get; set; }
  37. public string? SortOrder { get; set; }
  38. }
  39. public class SupplierShipmentSaveInput
  40. {
  41. public long? Id { get; set; }
  42. public string? Shddh { get; set; }
  43. public string? Jhshrq { get; set; }
  44. public string? Wlsc { get; set; }
  45. public string? Yjdhrq { get; set; }
  46. public string? ShPurchaseName { get; set; }
  47. public string? ShPurchaseNum { get; set; }
  48. public string? Wldh { get; set; }
  49. public int? Sfpc { get; set; }
  50. public string? Chbg { get; set; }
  51. public string? Pcsm { get; set; }
  52. public List<SupplierShipmentDetailInput> Details { get; set; } = new();
  53. }
  54. public class SupplierShipmentDetailInput
  55. {
  56. public long? Id { get; set; }
  57. public int? Hh { get; set; }
  58. public string? PoBill { get; set; }
  59. public string? PoBillLine { get; set; }
  60. public string? OrderType { get; set; }
  61. public string? ShMaterialCode { get; set; }
  62. public string? ShMaterialName { get; set; }
  63. public string? Th { get; set; }
  64. public decimal? ShDeliveryQuantity { get; set; }
  65. public decimal? Bzsl { get; set; }
  66. public decimal? Bqsl { get; set; }
  67. public string? ShMaterialDw { get; set; }
  68. public string? Scrq { get; set; }
  69. public string? Scph { get; set; }
  70. public string? Remarks { get; set; }
  71. public decimal? Djsl { get; set; }
  72. public string? Jybb { get; set; }
  73. public string? Jhdbh { get; set; }
  74. }
  75. public class SupplierShipmentDeleteInput
  76. {
  77. [Required]
  78. public long Id { get; set; }
  79. }
  80. public class SupplierShipmentOperationInput
  81. {
  82. [Required]
  83. public long Id { get; set; }
  84. }