AlibabaAlihealthSynergyYzwQuerydrugreportRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.querydrugreport request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwQuerydrugreportRequest
  9. {
  10. /**
  11. * 批号
  12. **/
  13. private $batchNo;
  14. /**
  15. * 开始日期(最大查询区间一月)
  16. **/
  17. private $beginTime;
  18. /**
  19. * 单据编号
  20. **/
  21. private $billCode;
  22. /**
  23. * 药品ID
  24. **/
  25. private $drugId;
  26. /**
  27. * 结束日期(最大查询区间一月)
  28. **/
  29. private $endTime;
  30. /**
  31. * 发货企业
  32. **/
  33. private $fromRefEntId;
  34. /**
  35. * 分页对象
  36. **/
  37. private $page;
  38. /**
  39. * 企业(本企业id)
  40. **/
  41. private $refEntId;
  42. private $apiParas = array();
  43. public function setBatchNo($batchNo)
  44. {
  45. $this->batchNo = $batchNo;
  46. $this->apiParas["batch_no"] = $batchNo;
  47. }
  48. public function getBatchNo()
  49. {
  50. return $this->batchNo;
  51. }
  52. public function setBeginTime($beginTime)
  53. {
  54. $this->beginTime = $beginTime;
  55. $this->apiParas["begin_time"] = $beginTime;
  56. }
  57. public function getBeginTime()
  58. {
  59. return $this->beginTime;
  60. }
  61. public function setBillCode($billCode)
  62. {
  63. $this->billCode = $billCode;
  64. $this->apiParas["bill_code"] = $billCode;
  65. }
  66. public function getBillCode()
  67. {
  68. return $this->billCode;
  69. }
  70. public function setDrugId($drugId)
  71. {
  72. $this->drugId = $drugId;
  73. $this->apiParas["drug_id"] = $drugId;
  74. }
  75. public function getDrugId()
  76. {
  77. return $this->drugId;
  78. }
  79. public function setEndTime($endTime)
  80. {
  81. $this->endTime = $endTime;
  82. $this->apiParas["end_time"] = $endTime;
  83. }
  84. public function getEndTime()
  85. {
  86. return $this->endTime;
  87. }
  88. public function setFromRefEntId($fromRefEntId)
  89. {
  90. $this->fromRefEntId = $fromRefEntId;
  91. $this->apiParas["from_ref_ent_id"] = $fromRefEntId;
  92. }
  93. public function getFromRefEntId()
  94. {
  95. return $this->fromRefEntId;
  96. }
  97. public function setPage($page)
  98. {
  99. $this->page = $page;
  100. $this->apiParas["page"] = $page;
  101. }
  102. public function getPage()
  103. {
  104. return $this->page;
  105. }
  106. public function setRefEntId($refEntId)
  107. {
  108. $this->refEntId = $refEntId;
  109. $this->apiParas["ref_ent_id"] = $refEntId;
  110. }
  111. public function getRefEntId()
  112. {
  113. return $this->refEntId;
  114. }
  115. public function getApiMethodName()
  116. {
  117. return "alibaba.alihealth.synergy.yzw.querydrugreport";
  118. }
  119. public function getApiParas()
  120. {
  121. return $this->apiParas;
  122. }
  123. public function check()
  124. {
  125. RequestCheckUtil::checkNotNull($this->beginTime,"beginTime");
  126. RequestCheckUtil::checkNotNull($this->endTime,"endTime");
  127. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  128. }
  129. public function putOtherTextParam($key, $value) {
  130. $this->apiParas[$key] = $value;
  131. $this->$key = $value;
  132. }
  133. }