/**
  * Set user
  *
  * @param \stdClass $user
  *
  * @return NotificationUser
  */
 public function setUser($user)
 {
     $this->user = $user;
     $user->addNotification($this);
     return $this;
 }