AlibabaAlihealthEntYzwHasuploaddrugreportRequest.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.ent.yzw.hasuploaddrugreport request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2024.04.02
  7. */
  8. class AlibabaAlihealthEntYzwHasuploaddrugreportRequest
  9. {
  10. /**
  11. * 批次号
  12. **/
  13. private $batchNo;
  14. /**
  15. * 药品ID
  16. **/
  17. private $drugEntBaseInfoId;
  18. /**
  19. * 企业ID
  20. **/
  21. private $refEntId;
  22. private $apiParas = array();
  23. public function setBatchNo($batchNo)
  24. {
  25. $this->batchNo = $batchNo;
  26. $this->apiParas["batch_no"] = $batchNo;
  27. }
  28. public function getBatchNo()
  29. {
  30. return $this->batchNo;
  31. }
  32. public function setDrugEntBaseInfoId($drugEntBaseInfoId)
  33. {
  34. $this->drugEntBaseInfoId = $drugEntBaseInfoId;
  35. $this->apiParas["drug_ent_base_info_id"] = $drugEntBaseInfoId;
  36. }
  37. public function getDrugEntBaseInfoId()
  38. {
  39. return $this->drugEntBaseInfoId;
  40. }
  41. public function setRefEntId($refEntId)
  42. {
  43. $this->refEntId = $refEntId;
  44. $this->apiParas["ref_ent_id"] = $refEntId;
  45. }
  46. public function getRefEntId()
  47. {
  48. return $this->refEntId;
  49. }
  50. public function getApiMethodName()
  51. {
  52. return "alibaba.alihealth.ent.yzw.hasuploaddrugreport";
  53. }
  54. public function getApiParas()
  55. {
  56. return $this->apiParas;
  57. }
  58. public function check()
  59. {
  60. RequestCheckUtil::checkNotNull($this->batchNo,"batchNo");
  61. RequestCheckUtil::checkNotNull($this->drugEntBaseInfoId,"drugEntBaseInfoId");
  62. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  63. }
  64. public function putOtherTextParam($key, $value) {
  65. $this->apiParas[$key] = $value;
  66. $this->$key = $value;
  67. }
  68. }