Init
This commit is contained in:
18
app/Models/Gallery.php
Normal file
18
app/Models/Gallery.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Gallery extends Model
|
||||
{
|
||||
public $table = 'gallery';
|
||||
|
||||
/**
|
||||
* Belongs To Episode.
|
||||
*/
|
||||
public function episode()
|
||||
{
|
||||
return $this->belongsTo(Episode::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user