AlibabaAlihealthSynergyYzwDrugreportSealRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.drugreport.seal request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.01.08
  7. */
  8. class AlibabaAlihealthSynergyYzwDrugreportSealRequest
  9. {
  10. /**
  11. * X坐标
  12. **/
  13. private $positionX;
  14. /**
  15. * Y坐标
  16. **/
  17. private $positionY;
  18. /**
  19. * 调用企业id
  20. **/
  21. private $refEntId;
  22. /**
  23. * 药检报告id
  24. **/
  25. private $reportId;
  26. /**
  27. * 印章名称
  28. **/
  29. private $sealName;
  30. /**
  31. * 用户id
  32. **/
  33. private $userId;
  34. private $apiParas = array();
  35. public function setPositionX($positionX)
  36. {
  37. $this->positionX = $positionX;
  38. $this->apiParas["position_x"] = $positionX;
  39. }
  40. public function getPositionX()
  41. {
  42. return $this->positionX;
  43. }
  44. public function setPositionY($positionY)
  45. {
  46. $this->positionY = $positionY;
  47. $this->apiParas["position_y"] = $positionY;
  48. }
  49. public function getPositionY()
  50. {
  51. return $this->positionY;
  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 setSealName($sealName)
  72. {
  73. $this->sealName = $sealName;
  74. $this->apiParas["seal_name"] = $sealName;
  75. }
  76. public function getSealName()
  77. {
  78. return $this->sealName;
  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.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->sealName,"sealName");
  102. RequestCheckUtil::checkNotNull($this->userId,"userId");
  103. }
  104. public function putOtherTextParam($key, $value) {
  105. $this->apiParas[$key] = $value;
  106. $this->$key = $value;
  107. }
  108. }