AlibabaAlihealthDrugtraceTopYljgListupoutRequest.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drugtrace.top.yljg.listupout request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.09.17
  7. */
  8. class AlibabaAlihealthDrugtraceTopYljgListupoutRequest
  9. {
  10. /**
  11. * 委托企业entId
  12. **/
  13. private $assEnId;
  14. /**
  15. * 开始日期(不写时分秒)
  16. **/
  17. private $beginDate;
  18. /**
  19. * 单据号
  20. **/
  21. private $billCode;
  22. /**
  23. * 单据类型
  24. **/
  25. private $billType;
  26. /**
  27. * 药品ID
  28. **/
  29. private $drugEntBaseInfoId;
  30. /**
  31. * 结束日期(不写时分秒)
  32. **/
  33. private $endDate;
  34. /**
  35. * 发货企业ent_id
  36. **/
  37. private $fromUserId;
  38. /**
  39. * 页码
  40. **/
  41. private $page;
  42. /**
  43. * 页大小
  44. **/
  45. private $pageSize;
  46. /**
  47. * 药品类型
  48. **/
  49. private $physicType;
  50. /**
  51. * 生产批号
  52. **/
  53. private $produceBatchNo;
  54. /**
  55. * 企业ID
  56. **/
  57. private $refEntId;
  58. /**
  59. * 状态
  60. **/
  61. private $status;
  62. private $apiParas = array();
  63. public function setAssEnId($assEnId)
  64. {
  65. $this->assEnId = $assEnId;
  66. $this->apiParas["ass_en_id"] = $assEnId;
  67. }
  68. public function getAssEnId()
  69. {
  70. return $this->assEnId;
  71. }
  72. public function setBeginDate($beginDate)
  73. {
  74. $this->beginDate = $beginDate;
  75. $this->apiParas["begin_date"] = $beginDate;
  76. }
  77. public function getBeginDate()
  78. {
  79. return $this->beginDate;
  80. }
  81. public function setBillCode($billCode)
  82. {
  83. $this->billCode = $billCode;
  84. $this->apiParas["bill_code"] = $billCode;
  85. }
  86. public function getBillCode()
  87. {
  88. return $this->billCode;
  89. }
  90. public function setBillType($billType)
  91. {
  92. $this->billType = $billType;
  93. $this->apiParas["bill_type"] = $billType;
  94. }
  95. public function getBillType()
  96. {
  97. return $this->billType;
  98. }
  99. public function setDrugEntBaseInfoId($drugEntBaseInfoId)
  100. {
  101. $this->drugEntBaseInfoId = $drugEntBaseInfoId;
  102. $this->apiParas["drug_ent_base_info_id"] = $drugEntBaseInfoId;
  103. }
  104. public function getDrugEntBaseInfoId()
  105. {
  106. return $this->drugEntBaseInfoId;
  107. }
  108. public function setEndDate($endDate)
  109. {
  110. $this->endDate = $endDate;
  111. $this->apiParas["end_date"] = $endDate;
  112. }
  113. public function getEndDate()
  114. {
  115. return $this->endDate;
  116. }
  117. public function setFromUserId($fromUserId)
  118. {
  119. $this->fromUserId = $fromUserId;
  120. $this->apiParas["from_user_id"] = $fromUserId;
  121. }
  122. public function getFromUserId()
  123. {
  124. return $this->fromUserId;
  125. }
  126. public function setPage($page)
  127. {
  128. $this->page = $page;
  129. $this->apiParas["page"] = $page;
  130. }
  131. public function getPage()
  132. {
  133. return $this->page;
  134. }
  135. public function setPageSize($pageSize)
  136. {
  137. $this->pageSize = $pageSize;
  138. $this->apiParas["page_size"] = $pageSize;
  139. }
  140. public function getPageSize()
  141. {
  142. return $this->pageSize;
  143. }
  144. public function setPhysicType($physicType)
  145. {
  146. $this->physicType = $physicType;
  147. $this->apiParas["physic_type"] = $physicType;
  148. }
  149. public function getPhysicType()
  150. {
  151. return $this->physicType;
  152. }
  153. public function setProduceBatchNo($produceBatchNo)
  154. {
  155. $this->produceBatchNo = $produceBatchNo;
  156. $this->apiParas["produce_batch_no"] = $produceBatchNo;
  157. }
  158. public function getProduceBatchNo()
  159. {
  160. return $this->produceBatchNo;
  161. }
  162. public function setRefEntId($refEntId)
  163. {
  164. $this->refEntId = $refEntId;
  165. $this->apiParas["ref_ent_id"] = $refEntId;
  166. }
  167. public function getRefEntId()
  168. {
  169. return $this->refEntId;
  170. }
  171. public function setStatus($status)
  172. {
  173. $this->status = $status;
  174. $this->apiParas["status"] = $status;
  175. }
  176. public function getStatus()
  177. {
  178. return $this->status;
  179. }
  180. public function getApiMethodName()
  181. {
  182. return "alibaba.alihealth.drugtrace.top.yljg.listupout";
  183. }
  184. public function getApiParas()
  185. {
  186. return $this->apiParas;
  187. }
  188. public function check()
  189. {
  190. RequestCheckUtil::checkNotNull($this->beginDate,"beginDate");
  191. RequestCheckUtil::checkNotNull($this->endDate,"endDate");
  192. RequestCheckUtil::checkNotNull($this->page,"page");
  193. RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
  194. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  195. }
  196. public function putOtherTextParam($key, $value) {
  197. $this->apiParas[$key] = $value;
  198. $this->$key = $value;
  199. }
  200. }