code = $code; $this->apiParas["code"] = $code; } public function getCode() { return $this->code; } public function setDesRefEntId($desRefEntId) { $this->desRefEntId = $desRefEntId; $this->apiParas["des_ref_ent_id"] = $desRefEntId; } public function getDesRefEntId() { return $this->desRefEntId; } 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.drugtrace.top.lsyd.query.relation"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->code,"code"); RequestCheckUtil::checkNotNull($this->desRefEntId,"desRefEntId"); RequestCheckUtil::checkNotNull($this->refEntId,"refEntId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }