my changes

This commit is contained in:
Arno Kaimbacher 2018-08-06 14:30:51 +02:00
parent 28301e4312
commit 8dc1f1b048
263 changed files with 36882 additions and 4453 deletions

View file

@ -1,16 +1,17 @@
<?php namespace App;
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Shelf extends Model {
class Shelf extends Model
{
protected $fillable = [
'shelf'
];
public function books()
{
return $this->hasMany('App\Book');
}
protected $fillable = [
'shelf'
];
// public function books()
// {
// return $this->hasMany('App\Book');
// }
}