public function setAuthor(User $user)
 {
     $this->author = $user;
     $this->id_author = $user->getAuthor()->getId();
     return true;
 }