AlibabaAlihealthSynergyYzwDeletedrugreportRequest.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.deletedrugreport request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwDeletedrugreportRequest
  9. {
  10. /**
  11. * 批次号
  12. **/
  13. private $batchNo;
  14. /**
  15. * 药品id
  16. **/
  17. private $drugId;
  18. /**
  19. * 报告上传企业
  20. **/
  21. private $refEntId;
  22. /**
  23. * 报告id
  24. **/
  25. private $reportId;
  26. /**
  27. * 用户id
  28. **/
  29. private $userId;
  30. private $apiParas = array();
  31. public function setBatchNo($batchNo)
  32. {
  33. $this->batchNo = $batchNo;
  34. $this->apiParas["batch_no"] = $batchNo;
  35. }
  36. public function getBatchNo()
  37. {
  38. return $this->batchNo;
  39. }
  40. public function setDrugId($drugId)
  41. {
  42. $this->drugId = $drugId;
  43. $this->apiParas["drug_id"] = $drugId;
  44. }
  45. public function getDrugId()
  46. {
  47. return $this->drugId;
  48. }
  49. public function setRefEntId($refEntId)
  50. {
  51. $this->refEntId = $refEntId;
  52. $this->apiParas["ref_ent_id"] = $refEntId;
  53. }
  54. public function getRefEntId()
  55. {
  56. return $this->refEntId;
  57. }
  58. public function setReportId($reportId)
  59. {
  60. $this->reportId = $reportId;
  61. $this->apiParas["report_id"] = $reportId;
  62. }
  63. public function getReportId()
  64. {
  65. return $this->reportId;
  66. }
  67. public function setUserId($userId)
  68. {
  69. $this->userId = $userId;
  70. $this->apiParas["user_id"] = $userId;
  71. }
  72. public function getUserId()
  73. {
  74. return $this->userId;
  75. }
  76. public function getApiMethodName()
  77. {
  78. return "alibaba.alihealth.synergy.yzw.deletedrugreport";
  79. }
  80. public function getApiParas()
  81. {
  82. return $this->apiParas;
  83. }
  84. public function check()
  85. {
  86. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  87. }
  88. public function putOtherTextParam($key, $value) {
  89. $this->apiParas[$key] = $value;
  90. $this->$key = $value;
  91. }
  92. }