AlibabaAlihealthDrugMscListpartsRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.msc.listparts request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.07.25
  7. */
  8. class AlibabaAlihealthDrugMscListpartsRequest
  9. {
  10. /**
  11. * 开始时间:往来单位最后修改时间(不推荐使用:因为往来单位是共用的,任意企业提交了信息变更都会引起这个值的变更)
  12. **/
  13. private $beginDate;
  14. /**
  15. * 结束时间:往来单位最后修改时间(不推荐使用:因为往来单位是共用的,任意企业提交了信息变更都会引起这个值的变更)
  16. **/
  17. private $endDate;
  18. /**
  19. * 企业名称
  20. **/
  21. private $entName;
  22. /**
  23. * 页码
  24. **/
  25. private $page;
  26. /**
  27. * 页大小
  28. **/
  29. private $pageSize;
  30. /**
  31. * 企业ID:查谁的往来单位数据就传谁
  32. **/
  33. private $refEntId;
  34. /**
  35. * 企业自定义编号
  36. **/
  37. private $refPartnerId;
  38. private $apiParas = array();
  39. public function setBeginDate($beginDate)
  40. {
  41. $this->beginDate = $beginDate;
  42. $this->apiParas["begin_date"] = $beginDate;
  43. }
  44. public function getBeginDate()
  45. {
  46. return $this->beginDate;
  47. }
  48. public function setEndDate($endDate)
  49. {
  50. $this->endDate = $endDate;
  51. $this->apiParas["end_date"] = $endDate;
  52. }
  53. public function getEndDate()
  54. {
  55. return $this->endDate;
  56. }
  57. public function setEntName($entName)
  58. {
  59. $this->entName = $entName;
  60. $this->apiParas["ent_name"] = $entName;
  61. }
  62. public function getEntName()
  63. {
  64. return $this->entName;
  65. }
  66. public function setPage($page)
  67. {
  68. $this->page = $page;
  69. $this->apiParas["page"] = $page;
  70. }
  71. public function getPage()
  72. {
  73. return $this->page;
  74. }
  75. public function setPageSize($pageSize)
  76. {
  77. $this->pageSize = $pageSize;
  78. $this->apiParas["page_size"] = $pageSize;
  79. }
  80. public function getPageSize()
  81. {
  82. return $this->pageSize;
  83. }
  84. public function setRefEntId($refEntId)
  85. {
  86. $this->refEntId = $refEntId;
  87. $this->apiParas["ref_ent_id"] = $refEntId;
  88. }
  89. public function getRefEntId()
  90. {
  91. return $this->refEntId;
  92. }
  93. public function setRefPartnerId($refPartnerId)
  94. {
  95. $this->refPartnerId = $refPartnerId;
  96. $this->apiParas["ref_partner_id"] = $refPartnerId;
  97. }
  98. public function getRefPartnerId()
  99. {
  100. return $this->refPartnerId;
  101. }
  102. public function getApiMethodName()
  103. {
  104. return "alibaba.alihealth.drug.msc.listparts";
  105. }
  106. public function getApiParas()
  107. {
  108. return $this->apiParas;
  109. }
  110. public function check()
  111. {
  112. RequestCheckUtil::checkNotNull($this->page,"page");
  113. RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
  114. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  115. }
  116. public function putOtherTextParam($key, $value) {
  117. $this->apiParas[$key] = $value;
  118. $this->$key = $value;
  119. }
  120. }