transcriptor-web/app/Models/Clip.php
2025-04-05 15:58:14 +02:00

25 lines
379 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Clip extends Model
{
protected $table = 'clips';
protected $fillable = [
'video_id',
'filename',
'gdrive_file_id',
];
/**
* Get the video that owns the clip.
*/
public function video()
{
return $this->belongsTo(Video::class);
}
}