AlibabaAlihealthSynergyYzwQuerydrugreportassRequest.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.querydrugreportass request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.11.05
  7. */
  8. class AlibabaAlihealthSynergyYzwQuerydrugreportassRequest
  9. {
  10. /**
  11. * 委托企业/货主企业
  12. **/
  13. private $assRefEntId;
  14. /**
  15. * 批号
  16. **/
  17. private $batchNo;
  18. /**
  19. * 开始日期(最大查询区间一月)
  20. **/
  21. private $beginTime;
  22. /**
  23. * 单据编号
  24. **/
  25. private $billCode;
  26. /**
  27. * 药品ID
  28. **/
  29. private $drugId;
  30. /**
  31. * 结束日期(最大查询区间一月)
  32. **/
  33. private $endTime;
  34. /**
  35. * 发货企业
  36. **/
  37. private $fromRefEntId;
  38. /**
  39. * 分页对象
  40. **/
  41. private $page;
  42. /**
  43. * 本企业
  44. **/
  45. private $refEntId;
  46. /**
  47. * 0:待盖章 5:已盖章 6:同批号已盖章 注意:status_type需要填3
  48. **/
  49. private $sealStatus;
  50. /**
  51. * 2:待签收 3:已签收 4:已拒绝
  52. **/
  53. private $statusType;
  54. /**
  55. * 0:按照单据时间 1:按照单据上传时间 2:按照单据签收时间
  56. **/
  57. private $timeType;
  58. private $apiParas = array();
  59. public function setAssRefEntId($assRefEntId)
  60. {
  61. $this->assRefEntId = $assRefEntId;
  62. $this->apiParas["ass_ref_ent_id"] = $assRefEntId;
  63. }
  64. public function getAssRefEntId()
  65. {
  66. return $this->assRefEntId;
  67. }
  68. public function setBatchNo($batchNo)
  69. {
  70. $this->batchNo = $batchNo;
  71. $this->apiParas["batch_no"] = $batchNo;
  72. }
  73. public function getBatchNo()
  74. {
  75. return $this->batchNo;
  76. }
  77. public function setBeginTime($beginTime)
  78. {
  79. $this->beginTime = $beginTime;
  80. $this->apiParas["begin_time"] = $beginTime;
  81. }
  82. public function getBeginTime()
  83. {
  84. return $this->beginTime;
  85. }
  86. public function setBillCode($billCode)
  87. {
  88. $this->billCode = $billCode;
  89. $this->apiParas["bill_code"] = $billCode;
  90. }
  91. public function getBillCode()
  92. {
  93. return $this->billCode;
  94. }
  95. public function setDrugId($drugId)
  96. {
  97. $this->drugId = $drugId;
  98. $this->apiParas["drug_id"] = $drugId;
  99. }
  100. public function getDrugId()
  101. {
  102. return $this->drugId;
  103. }
  104. public function setEndTime($endTime)
  105. {
  106. $this->endTime = $endTime;
  107. $this->apiParas["end_time"] = $endTime;
  108. }
  109. public function getEndTime()
  110. {
  111. return $this->endTime;
  112. }
  113. public function setFromRefEntId($fromRefEntId)
  114. {
  115. $this->fromRefEntId = $fromRefEntId;
  116. $this->apiParas["from_ref_ent_id"] = $fromRefEntId;
  117. }
  118. public function getFromRefEntId()
  119. {
  120. return $this->fromRefEntId;
  121. }
  122. public function setPage($page)
  123. {
  124. $this->page = $page;
  125. $this->apiParas["page"] = $page;
  126. }
  127. public function getPage()
  128. {
  129. return $this->page;
  130. }
  131. public function setRefEntId($refEntId)
  132. {
  133. $this->refEntId = $refEntId;
  134. $this->apiParas["ref_ent_id"] = $refEntId;
  135. }
  136. public function getRefEntId()
  137. {
  138. return $this->refEntId;
  139. }
  140. public function setSealStatus($sealStatus)
  141. {
  142. $this->sealStatus = $sealStatus;
  143. $this->apiParas["seal_status"] = $sealStatus;
  144. }
  145. public function getSealStatus()
  146. {
  147. return $this->sealStatus;
  148. }
  149. public function setStatusType($statusType)
  150. {
  151. $this->statusType = $statusType;
  152. $this->apiParas["status_type"] = $statusType;
  153. }
  154. public function getStatusType()
  155. {
  156. return $this->statusType;
  157. }
  158. public function setTimeType($timeType)
  159. {
  160. $this->timeType = $timeType;
  161. $this->apiParas["time_type"] = $timeType;
  162. }
  163. public function getTimeType()
  164. {
  165. return $this->timeType;
  166. }
  167. public function getApiMethodName()
  168. {
  169. return "alibaba.alihealth.synergy.yzw.querydrugreportass";
  170. }
  171. public function getApiParas()
  172. {
  173. return $this->apiParas;
  174. }
  175. public function check()
  176. {
  177. RequestCheckUtil::checkNotNull($this->beginTime,"beginTime");
  178. RequestCheckUtil::checkNotNull($this->endTime,"endTime");
  179. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  180. }
  181. public function putOtherTextParam($key, $value) {
  182. $this->apiParas[$key] = $value;
  183. $this->$key = $value;
  184. }
  185. }