AlibabaAlihealthSynergyYzwDrugreportAssSealRequest.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.drugreport.ass.seal request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwDrugreportAssSealRequest
  9. {
  10. /**
  11. * 授权企业refEntId,报告属于该企业。不传表示没有委托场景
  12. **/
  13. private $assRefEntId;
  14. /**
  15. * 授权单位的章信息
  16. **/
  17. private $assSealInfo;
  18. /**
  19. * 调用企业的refEntId
  20. **/
  21. private $refEntId;
  22. /**
  23. * 药检报告id
  24. **/
  25. private $reportId;
  26. /**
  27. * 代理操作企业(调用企业)的章信息
  28. **/
  29. private $selfSealInfo;
  30. /**
  31. * 三方用户标识
  32. **/
  33. private $userId;
  34. private $apiParas = array();
  35. public function setAssRefEntId($assRefEntId)
  36. {
  37. $this->assRefEntId = $assRefEntId;
  38. $this->apiParas["ass_ref_ent_id"] = $assRefEntId;
  39. }
  40. public function getAssRefEntId()
  41. {
  42. return $this->assRefEntId;
  43. }
  44. public function setAssSealInfo($assSealInfo)
  45. {
  46. $this->assSealInfo = $assSealInfo;
  47. $this->apiParas["ass_seal_info"] = $assSealInfo;
  48. }
  49. public function getAssSealInfo()
  50. {
  51. return $this->assSealInfo;
  52. }
  53. public function setRefEntId($refEntId)
  54. {
  55. $this->refEntId = $refEntId;
  56. $this->apiParas["ref_ent_id"] = $refEntId;
  57. }
  58. public function getRefEntId()
  59. {
  60. return $this->refEntId;
  61. }
  62. public function setReportId($reportId)
  63. {
  64. $this->reportId = $reportId;
  65. $this->apiParas["report_id"] = $reportId;
  66. }
  67. public function getReportId()
  68. {
  69. return $this->reportId;
  70. }
  71. public function setSelfSealInfo($selfSealInfo)
  72. {
  73. $this->selfSealInfo = $selfSealInfo;
  74. $this->apiParas["self_seal_info"] = $selfSealInfo;
  75. }
  76. public function getSelfSealInfo()
  77. {
  78. return $this->selfSealInfo;
  79. }
  80. public function setUserId($userId)
  81. {
  82. $this->userId = $userId;
  83. $this->apiParas["user_id"] = $userId;
  84. }
  85. public function getUserId()
  86. {
  87. return $this->userId;
  88. }
  89. public function getApiMethodName()
  90. {
  91. return "alibaba.alihealth.synergy.yzw.drugreport.ass.seal";
  92. }
  93. public function getApiParas()
  94. {
  95. return $this->apiParas;
  96. }
  97. public function check()
  98. {
  99. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  100. RequestCheckUtil::checkNotNull($this->reportId,"reportId");
  101. RequestCheckUtil::checkNotNull($this->userId,"userId");
  102. }
  103. public function putOtherTextParam($key, $value) {
  104. $this->apiParas[$key] = $value;
  105. $this->$key = $value;
  106. }
  107. }