mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-14 09:01:42 -04:00
21 lines
392 B
PHP
21 lines
392 B
PHP
<?php
|
|
|
|
namespace Modules\StudioPlus\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class VideoUrl extends Model
|
|
{
|
|
protected $table = 'studio_plus_video_urls';
|
|
protected $fillable = [
|
|
'video_id',
|
|
'label',
|
|
'url'
|
|
];
|
|
|
|
public function video()
|
|
{
|
|
return $this->belongsTo(StudioPlusVideo::class, 'video_id', 'id');
|
|
}
|
|
}
|