belongsTo('News\News\Models\Category'); } /** * The comments that belong to the news. */ public function comments(){ return $this->hasMany('News\News\Models\Comment'); } /** * The tags that belong to the news. */ public function tags(){ return $this->hasMany('News\News\Models\Tag'); } }