Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
YoutubeVideos
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 boot
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\Http\Models\Prompts;
4
5use Illuminate\Database\Eloquent\Factories\HasFactory;
6use App\Http\Models\Moloquent;
7use MongoDB\Laravel\Eloquent\SoftDeletes;
8
9class YoutubeVideos extends Moloquent
10{
11    use HasFactory, SoftDeletes;
12
13    protected $table = 'youtube_videos';
14
15    protected $fillable = [
16        'video_id',
17        'prompt',
18        'result',
19    ];
20
21    /**
22     * The attributes that should be hidden for arrays.
23     *
24     * @var array
25     */
26    protected $hidden = [];
27
28    /**
29     * The accessors to append to the model's array form.
30     *
31     * @var array
32     */
33    protected $appends = [];
34
35    /**
36     * The "booting" method of the model.
37     */
38    protected static function boot(): void
39    {
40        parent::boot();
41    }
42}