entId = $entId; $this->apiParas["ent_id"] = $entId; } public function getEntId() { return $this->entId; } public function setRefEntId($refEntId) { $this->refEntId = $refEntId; $this->apiParas["ref_ent_id"] = $refEntId; } public function getRefEntId() { return $this->refEntId; } public function getApiMethodName() { return "alibaba.alihealth.drug.msc.getbyentid"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->entId,"entId"); RequestCheckUtil::checkNotNull($this->refEntId,"refEntId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }