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