Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
Faq | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Engelsystem\Models; |
6 | |
7 | use Carbon\Carbon; |
8 | use Illuminate\Database\Eloquent\Builder; |
9 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
10 | |
11 | /** |
12 | * @property int $id |
13 | * @property string $question |
14 | * @property string $text |
15 | * @property Carbon|null $created_at |
16 | * @property Carbon|null $updated_at |
17 | * |
18 | * @method static Builder|Faq whereId($value) |
19 | * @method static Builder|Faq whereQuestion($value) |
20 | * @method static Builder|Faq whereText($value) |
21 | */ |
22 | class Faq extends BaseModel |
23 | { |
24 | use HasFactory; |
25 | |
26 | /** @var bool Enable timestamps */ |
27 | public $timestamps = true; // phpcs:ignore |
28 | |
29 | /** @var string The models table */ |
30 | public $table = 'faq'; // phpcs:ignore |
31 | |
32 | /** @var array<string> */ |
33 | protected $fillable = [ // phpcs:ignore |
34 | 'question', |
35 | 'text', |
36 | ]; |
37 | } |