$val){ if ($val !== null) $data[$key] = $val; } if(sizeof($data) < 1){ return null; } return $data; } /** * @return mixed */ public function getEmployee() { return $this->employee; } /** * @param mixed $employee */ public function setEmployee($employee) { $this->employee = $employee; } /** * @return mixed */ public function getPass() { return $this->pass; } /** * @param mixed $pass */ public function setPass($pass) { $this->pass = $pass; } /** * @return mixed */ public function getContractId() { return $this->contractId; } /** * @param mixed $contractId */ public function setContractId($contractId) { $this->contractId = $contractId; } /** * @return mixed */ public function getBizId() { return $this->bizId; } /** * @param mixed $bizId */ public function setBizId($bizId) { $this->bizId = $bizId; } /** * @return mixed */ public function getComment() { return $this->comment; } /** * @param mixed $comment */ public function setComment($comment) { $this->comment = $comment; } }