ProcurementExecutionDto.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 SupplierDeliveryReplyDueDateInput
  20. {
  21. [Required(ErrorMessage = "ids不能为空")]
  22. public string Ids { get; set; } = string.Empty;
  23. [Required(ErrorMessage = "jqhf不能为空")]
  24. public string Jqhf { get; set; } = string.Empty;
  25. }
  26. public class DeliveryCloseInput
  27. {
  28. [Required(ErrorMessage = "交货单号不能为空")]
  29. public string DsNum { get; set; } = string.Empty;
  30. }
  31. public class SupplierShipmentListInput
  32. {
  33. public int Page { get; set; } = 1;
  34. public int PageSize { get; set; } = 10;
  35. public string? JhshrqFrom { get; set; }
  36. public string? Gysmc { get; set; }
  37. public string? Shddh { get; set; }
  38. public string? Wldh { get; set; }
  39. public string? PoBill { get; set; }
  40. public string? ShMaterialCode { get; set; }
  41. public string? Shzt { get; set; }
  42. public string? Shpc { get; set; }
  43. public string? SortField { get; set; }
  44. public string? SortOrder { get; set; }
  45. }
  46. public class SupplierShipmentSaveInput
  47. {
  48. public long? Id { get; set; }
  49. public string? Shddh { get; set; }
  50. public string? Jhshrq { get; set; }
  51. public string? Wlsc { get; set; }
  52. public string? Yjdhrq { get; set; }
  53. public string? ShPurchaseName { get; set; }
  54. public string? ShPurchaseNum { get; set; }
  55. public string? Wldh { get; set; }
  56. public int? Sfpc { get; set; }
  57. public string? Chbg { get; set; }
  58. public string? Pcsm { get; set; }
  59. public List<SupplierShipmentDetailInput> Details { get; set; } = new();
  60. }
  61. public class SupplierShipmentDetailInput
  62. {
  63. public long? Id { get; set; }
  64. public int? Hh { get; set; }
  65. public string? PoBill { get; set; }
  66. public string? PoBillLine { get; set; }
  67. public string? OrderType { get; set; }
  68. public string? ShMaterialCode { get; set; }
  69. public string? ShMaterialName { get; set; }
  70. public string? Th { get; set; }
  71. public decimal? ShDeliveryQuantity { get; set; }
  72. public decimal? Bzsl { get; set; }
  73. public decimal? Bqsl { get; set; }
  74. public string? ShMaterialDw { get; set; }
  75. public string? Scrq { get; set; }
  76. public string? Scph { get; set; }
  77. public string? Remarks { get; set; }
  78. public decimal? Djsl { get; set; }
  79. public string? Jybb { get; set; }
  80. public string? Jhdbh { get; set; }
  81. }
  82. public class SupplierShipmentDeleteInput
  83. {
  84. [Required]
  85. public long Id { get; set; }
  86. }
  87. public class SupplierShipmentOperationInput
  88. {
  89. [Required]
  90. public long Id { get; set; }
  91. }