function __construct(User $user)
 {
     $this->username = $user->getUsername();
     $this->email = $user->getEmail();
     $this->fullname = $user->getFullName();
     $this->telephone = $user->getTelephone();
 }
 public function __construct(User $model)
 {
     $this->id = $model->getId();
     $this->fullName = $model->getFullName();
     $this->username = $model->getUsername();
 }