public function getAvatarAttribute() { return $this->avatar_url ? $this->avatar_url : '/img/avatar.jpg'; }