Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
PromptModel
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 boot
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\Http\Models\Prompts;
4
5use App\Http\Models\Moloquent;
6use Illuminate\Database\Eloquent\Factories\HasFactory;
7
8class 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}