latest()->take(1)->first(); } public function getUserWaveById($id){ return self::where('id',$id)->first(); } }