PersonId = $param["PersonId"]; } if (array_key_exists("PersonName",$param) and $param["PersonName"] !== null) { $this->PersonName = $param["PersonName"]; } if (array_key_exists("Gender",$param) and $param["Gender"] !== null) { $this->Gender = $param["Gender"]; } } }