AlibabaAlihealthSynergyYzwQueryassdrugreportinfoRequest.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.queryassdrugreportinfo request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwQueryassdrugreportinfoRequest
  9. {
  10. /**
  11. * 授权企业refEntId,报告属于该企业
  12. **/
  13. private $assRefEntId;
  14. /**
  15. * 药品委托企业refEntId
  16. **/
  17. private $authRefEntId;
  18. /**
  19. * 药品id
  20. **/
  21. private $drugEntBaseInfoId;
  22. /**
  23. * 页码
  24. **/
  25. private $page;
  26. /**
  27. * 页的大小
  28. **/
  29. private $pageSize;
  30. /**
  31. * 批次号
  32. **/
  33. private $produceBatchNo;
  34. /**
  35. * 生产日期起始
  36. **/
  37. private $produceDateBegin;
  38. /**
  39. * 生产日期终止
  40. **/
  41. private $produceDateEnd;
  42. /**
  43. * 药品生产企业refEntId
  44. **/
  45. private $produceRefEntId;
  46. /**
  47. * 调用企业的refEntId
  48. **/
  49. private $refEntId;
  50. /**
  51. * 报告状态: 1 未上传 ; 2 已上传未盖章 ; 3 已盖章
  52. **/
  53. private $type;
  54. private $apiParas = array();
  55. public function setAssRefEntId($assRefEntId)
  56. {
  57. $this->assRefEntId = $assRefEntId;
  58. $this->apiParas["ass_ref_ent_id"] = $assRefEntId;
  59. }
  60. public function getAssRefEntId()
  61. {
  62. return $this->assRefEntId;
  63. }
  64. public function setAuthRefEntId($authRefEntId)
  65. {
  66. $this->authRefEntId = $authRefEntId;
  67. $this->apiParas["auth_ref_ent_id"] = $authRefEntId;
  68. }
  69. public function getAuthRefEntId()
  70. {
  71. return $this->authRefEntId;
  72. }
  73. public function setDrugEntBaseInfoId($drugEntBaseInfoId)
  74. {
  75. $this->drugEntBaseInfoId = $drugEntBaseInfoId;
  76. $this->apiParas["drug_ent_base_info_id"] = $drugEntBaseInfoId;
  77. }
  78. public function getDrugEntBaseInfoId()
  79. {
  80. return $this->drugEntBaseInfoId;
  81. }
  82. public function setPage($page)
  83. {
  84. $this->page = $page;
  85. $this->apiParas["page"] = $page;
  86. }
  87. public function getPage()
  88. {
  89. return $this->page;
  90. }
  91. public function setPageSize($pageSize)
  92. {
  93. $this->pageSize = $pageSize;
  94. $this->apiParas["page_size"] = $pageSize;
  95. }
  96. public function getPageSize()
  97. {
  98. return $this->pageSize;
  99. }
  100. public function setProduceBatchNo($produceBatchNo)
  101. {
  102. $this->produceBatchNo = $produceBatchNo;
  103. $this->apiParas["produce_batch_no"] = $produceBatchNo;
  104. }
  105. public function getProduceBatchNo()
  106. {
  107. return $this->produceBatchNo;
  108. }
  109. public function setProduceDateBegin($produceDateBegin)
  110. {
  111. $this->produceDateBegin = $produceDateBegin;
  112. $this->apiParas["produce_date_begin"] = $produceDateBegin;
  113. }
  114. public function getProduceDateBegin()
  115. {
  116. return $this->produceDateBegin;
  117. }
  118. public function setProduceDateEnd($produceDateEnd)
  119. {
  120. $this->produceDateEnd = $produceDateEnd;
  121. $this->apiParas["produce_date_end"] = $produceDateEnd;
  122. }
  123. public function getProduceDateEnd()
  124. {
  125. return $this->produceDateEnd;
  126. }
  127. public function setProduceRefEntId($produceRefEntId)
  128. {
  129. $this->produceRefEntId = $produceRefEntId;
  130. $this->apiParas["produce_ref_ent_id"] = $produceRefEntId;
  131. }
  132. public function getProduceRefEntId()
  133. {
  134. return $this->produceRefEntId;
  135. }
  136. public function setRefEntId($refEntId)
  137. {
  138. $this->refEntId = $refEntId;
  139. $this->apiParas["ref_ent_id"] = $refEntId;
  140. }
  141. public function getRefEntId()
  142. {
  143. return $this->refEntId;
  144. }
  145. public function setType($type)
  146. {
  147. $this->type = $type;
  148. $this->apiParas["type"] = $type;
  149. }
  150. public function getType()
  151. {
  152. return $this->type;
  153. }
  154. public function getApiMethodName()
  155. {
  156. return "alibaba.alihealth.synergy.yzw.queryassdrugreportinfo";
  157. }
  158. public function getApiParas()
  159. {
  160. return $this->apiParas;
  161. }
  162. public function check()
  163. {
  164. RequestCheckUtil::checkNotNull($this->assRefEntId,"assRefEntId");
  165. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  166. }
  167. public function putOtherTextParam($key, $value) {
  168. $this->apiParas[$key] = $value;
  169. $this->$key = $value;
  170. }
  171. }