public function user()
 {
     return $this->repository->belongsTo('App\\User', 'foreign_key');
 }