engelsystem/src/Models/Faq.php

38 lines
848 B
PHP
Raw Normal View History

2020-12-06 00:16:15 +01:00
<?php
declare(strict_types=1);
namespace Engelsystem\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
2021-07-10 00:59:20 +02:00
use Illuminate\Database\Eloquent\Factories\HasFactory;
2020-12-06 00:16:15 +01:00
/**
* @property int $id
* @property string $question
* @property string $text
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
*
* @method static Builder|Faq whereId($value)
* @method static Builder|Faq whereQuestion($value)
* @method static Builder|Faq whereText($value)
*/
class Faq extends BaseModel
{
2021-07-10 00:59:20 +02:00
use HasFactory;
2020-12-06 00:16:15 +01:00
/** @var bool Enable timestamps */
public $timestamps = true; // phpcs:ignore
2020-12-06 00:16:15 +01:00
/** @var string The models table */
public $table = 'faq'; // phpcs:ignore
2020-12-06 00:16:15 +01:00
/** @var array<string> */
protected $fillable = [ // phpcs:ignore
2020-12-06 00:16:15 +01:00
'question',
'text',
];
}