AlibabaAlihealthSynergyYzwSavedrugreportbyhttpassRequest.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.savedrugreportbyhttpass request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwSavedrugreportbyhttpassRequest
  9. {
  10. /**
  11. * 委托企业
  12. **/
  13. private $assRefEntId;
  14. /**
  15. * 委托企业签章
  16. **/
  17. private $assSealInfo;
  18. /**
  19. * 批次号
  20. **/
  21. private $batchNo;
  22. /**
  23. * 药品ID
  24. **/
  25. private $drugEntBaseInfoId;
  26. /**
  27. * 报告文件
  28. **/
  29. private $files;
  30. /**
  31. * 生产日期
  32. **/
  33. private $produceDate;
  34. /**
  35. * 企业ID
  36. **/
  37. private $refEntId;
  38. /**
  39. * 报告日期
  40. **/
  41. private $reportDate;
  42. /**
  43. * 药检报告号
  44. **/
  45. private $reportNo;
  46. /**
  47. * 本企业签章
  48. **/
  49. private $selfSealInfo;
  50. /**
  51. * 用户id(三方系统标识)
  52. **/
  53. private $userId;
  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 setAssSealInfo($assSealInfo)
  65. {
  66. $this->assSealInfo = $assSealInfo;
  67. $this->apiParas["ass_seal_info"] = $assSealInfo;
  68. }
  69. public function getAssSealInfo()
  70. {
  71. return $this->assSealInfo;
  72. }
  73. public function setBatchNo($batchNo)
  74. {
  75. $this->batchNo = $batchNo;
  76. $this->apiParas["batch_no"] = $batchNo;
  77. }
  78. public function getBatchNo()
  79. {
  80. return $this->batchNo;
  81. }
  82. public function setDrugEntBaseInfoId($drugEntBaseInfoId)
  83. {
  84. $this->drugEntBaseInfoId = $drugEntBaseInfoId;
  85. $this->apiParas["drug_ent_base_info_id"] = $drugEntBaseInfoId;
  86. }
  87. public function getDrugEntBaseInfoId()
  88. {
  89. return $this->drugEntBaseInfoId;
  90. }
  91. public function setFiles($files)
  92. {
  93. $this->files = $files;
  94. $this->apiParas["files"] = $files;
  95. }
  96. public function getFiles()
  97. {
  98. return $this->files;
  99. }
  100. public function setProduceDate($produceDate)
  101. {
  102. $this->produceDate = $produceDate;
  103. $this->apiParas["produce_date"] = $produceDate;
  104. }
  105. public function getProduceDate()
  106. {
  107. return $this->produceDate;
  108. }
  109. public function setRefEntId($refEntId)
  110. {
  111. $this->refEntId = $refEntId;
  112. $this->apiParas["ref_ent_id"] = $refEntId;
  113. }
  114. public function getRefEntId()
  115. {
  116. return $this->refEntId;
  117. }
  118. public function setReportDate($reportDate)
  119. {
  120. $this->reportDate = $reportDate;
  121. $this->apiParas["report_date"] = $reportDate;
  122. }
  123. public function getReportDate()
  124. {
  125. return $this->reportDate;
  126. }
  127. public function setReportNo($reportNo)
  128. {
  129. $this->reportNo = $reportNo;
  130. $this->apiParas["report_no"] = $reportNo;
  131. }
  132. public function getReportNo()
  133. {
  134. return $this->reportNo;
  135. }
  136. public function setSelfSealInfo($selfSealInfo)
  137. {
  138. $this->selfSealInfo = $selfSealInfo;
  139. $this->apiParas["self_seal_info"] = $selfSealInfo;
  140. }
  141. public function getSelfSealInfo()
  142. {
  143. return $this->selfSealInfo;
  144. }
  145. public function setUserId($userId)
  146. {
  147. $this->userId = $userId;
  148. $this->apiParas["user_id"] = $userId;
  149. }
  150. public function getUserId()
  151. {
  152. return $this->userId;
  153. }
  154. public function getApiMethodName()
  155. {
  156. return "alibaba.alihealth.synergy.yzw.savedrugreportbyhttpass";
  157. }
  158. public function getApiParas()
  159. {
  160. return $this->apiParas;
  161. }
  162. public function check()
  163. {
  164. RequestCheckUtil::checkNotNull($this->batchNo,"batchNo");
  165. RequestCheckUtil::checkNotNull($this->drugEntBaseInfoId,"drugEntBaseInfoId");
  166. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  167. RequestCheckUtil::checkNotNull($this->userId,"userId");
  168. }
  169. public function putOtherTextParam($key, $value) {
  170. $this->apiParas[$key] = $value;
  171. $this->$key = $value;
  172. }
  173. }