public function getByUserId($userId) { return \DB::table($this->getTableName())->where('id', $userId)->first(); }