/**
  * Get repository model.
  *
  * @return \Modules\Articles\Entities\Article
  */
 public function getModel()
 {
     $all_domains = (int) Request::header('allDomains', false);
     if ($all_domains) {
         $repository = Article::allDomains()->with('domain')->with('data')->not_from_this_domain();
     } else {
         $repository = Article::with('domain')->with('data');
     }
     $with_trashed = (int) Request::header('withTrashed', false);
     $with_trashed and $repository->withTrashed();
     $trash_only = (int) Request::header('onlyTrashed', false);
     $trash_only and $repository->onlyTrashed();
     return $repository;
 }