initial commit
This commit is contained in:
commit
28301e4312
219 changed files with 23035 additions and 0 deletions
16
app/Shelf.php
Executable file
16
app/Shelf.php
Executable file
|
@ -0,0 +1,16 @@
|
|||
<?php namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Shelf extends Model {
|
||||
|
||||
protected $fillable = [
|
||||
'shelf'
|
||||
];
|
||||
|
||||
public function books()
|
||||
{
|
||||
return $this->hasMany('App\Book');
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue