hasMany(Author::class); } public function location() { return $this->belongsTo(Location::class); } }