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;
|
|
|
|
|
|
|
|
/** @var string The models table */
|
|
|
|
public $table = 'faq';
|
|
|
|
|
|
|
|
/** @var string[] */
|
|
|
|
protected $fillable = [
|
|
|
|
'question',
|
|
|
|
'text',
|
|
|
|
];
|
|
|
|
}
|