AlibabaAlihealthSynergyYzwDrugreportOptHistoryAllRequest.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.drugreport.opt.history.all request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwDrugreportOptHistoryAllRequest
  9. {
  10. /**
  11. * 批次号
  12. **/
  13. private $batchNo;
  14. /**
  15. * 操作开始时间
  16. **/
  17. private $beginTime;
  18. /**
  19. * 药品id
  20. **/
  21. private $drugId;
  22. /**
  23. * 操作结束时间
  24. **/
  25. private $endTime;
  26. /**
  27. * 页码
  28. **/
  29. private $page;
  30. /**
  31. * 页的大小
  32. **/
  33. private $pageSize;
  34. /**
  35. * 调用企业id
  36. **/
  37. private $refEntId;
  38. private $apiParas = array();
  39. public function setBatchNo($batchNo)
  40. {
  41. $this->batchNo = $batchNo;
  42. $this->apiParas["batch_no"] = $batchNo;
  43. }
  44. public function getBatchNo()
  45. {
  46. return $this->batchNo;
  47. }
  48. public function setBeginTime($beginTime)
  49. {
  50. $this->beginTime = $beginTime;
  51. $this->apiParas["begin_time"] = $beginTime;
  52. }
  53. public function getBeginTime()
  54. {
  55. return $this->beginTime;
  56. }
  57. public function setDrugId($drugId)
  58. {
  59. $this->drugId = $drugId;
  60. $this->apiParas["drug_id"] = $drugId;
  61. }
  62. public function getDrugId()
  63. {
  64. return $this->drugId;
  65. }
  66. public function setEndTime($endTime)
  67. {
  68. $this->endTime = $endTime;
  69. $this->apiParas["end_time"] = $endTime;
  70. }
  71. public function getEndTime()
  72. {
  73. return $this->endTime;
  74. }
  75. public function setPage($page)
  76. {
  77. $this->page = $page;
  78. $this->apiParas["page"] = $page;
  79. }
  80. public function getPage()
  81. {
  82. return $this->page;
  83. }
  84. public function setPageSize($pageSize)
  85. {
  86. $this->pageSize = $pageSize;
  87. $this->apiParas["page_size"] = $pageSize;
  88. }
  89. public function getPageSize()
  90. {
  91. return $this->pageSize;
  92. }
  93. public function setRefEntId($refEntId)
  94. {
  95. $this->refEntId = $refEntId;
  96. $this->apiParas["ref_ent_id"] = $refEntId;
  97. }
  98. public function getRefEntId()
  99. {
  100. return $this->refEntId;
  101. }
  102. public function getApiMethodName()
  103. {
  104. return "alibaba.alihealth.synergy.yzw.drugreport.opt.history.all";
  105. }
  106. public function getApiParas()
  107. {
  108. return $this->apiParas;
  109. }
  110. public function check()
  111. {
  112. RequestCheckUtil::checkNotNull($this->beginTime,"beginTime");
  113. RequestCheckUtil::checkNotNull($this->endTime,"endTime");
  114. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  115. }
  116. public function putOtherTextParam($key, $value) {
  117. $this->apiParas[$key] = $value;
  118. $this->$key = $value;
  119. }
  120. }