my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
|
@ -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');
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue