id; } /** * @return User */ public function getUser() { return $this->user; } /** * @param User $user * * @return UserQuery */ public function setUser(User $user) { $this->user = $user; return $this; } /** * @return string */ public function getSbasId() { return $this->sbasId; } /** * @param $sbasId * * @return $this */ public function setSbasId($sbasId) { $this->sbasId = $sbasId; return $this; } /** * @return string */ public function getTitle() { return $this->title; } /** * @param $title * * @return $this */ public function setTitle($title) { $this->title = $title; return $this; } /** * @param array $data * * @return $this */ public function setData(array $data) { $this->data = json_encode($data); return $this; } /** * @return array */ public function getData() { return (array) json_decode($this->data, true); return $this; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @param \DateTime $created * * @return UserQuery */ public function setCreated(\DateTime $created) { $this->created = $created; return $this; } }