DemandOrderDto.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. namespace Admin.NET.Plugin.AiDOP.Supply;
  2. public class DemandOrderListInput
  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? Status { get; set; }
  10. public string? SortField { get; set; }
  11. public string? SortOrder { get; set; }
  12. }
  13. public class DemandOrderSaveInput
  14. {
  15. public int? Id { get; set; }
  16. public string? PurOrd { get; set; }
  17. public string? OrdDate { get; set; }
  18. public string? Supp { get; set; }
  19. public string? ReqBy { get; set; }
  20. public string? Buyer { get; set; }
  21. public string? Department { get; set; }
  22. public string? Curr { get; set; }
  23. public string? Usage { get; set; }
  24. public string? Remark { get; set; }
  25. public string? Potype { get; set; }
  26. public string? Fstid { get; set; }
  27. public List<DemandOrderDetailInput> Details { get; set; } = new();
  28. }
  29. public class DemandOrderDetailInput
  30. {
  31. public int? Id { get; set; }
  32. public int? Line { get; set; }
  33. public string? ItemNum { get; set; }
  34. public string? UM { get; set; }
  35. public string? Location { get; set; }
  36. public decimal? QtyOrded { get; set; }
  37. public decimal? RctQty { get; set; }
  38. public decimal? ReceiptQty { get; set; }
  39. public string? DueDate { get; set; }
  40. public string? Rev { get; set; }
  41. public string? Drawing { get; set; }
  42. public string? LotSerial { get; set; }
  43. public string? Potype { get; set; }
  44. public string? PurOrd { get; set; }
  45. public int? PurOrdRecID { get; set; }
  46. }
  47. public class DemandOrderItemListInput
  48. {
  49. public int Page { get; set; } = 1;
  50. public int PageSize { get; set; } = 10;
  51. public string? ItemNum { get; set; }
  52. public string? Descr { get; set; }
  53. public string? SortField { get; set; }
  54. public string? SortOrder { get; set; }
  55. }