35 lines
719 B
PHP
35 lines
719 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Engelsystem\Models;
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Database\Eloquent\Builder;
|
||
|
|
||
|
/**
|
||
|
* @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
|
||
|
{
|
||
|
/** @var bool Enable timestamps */
|
||
|
public $timestamps = true;
|
||
|
|
||
|
/** @var string The models table */
|
||
|
public $table = 'faq';
|
||
|
|
||
|
/** @var string[] */
|
||
|
protected $fillable = [
|
||
|
'question',
|
||
|
'text',
|
||
|
];
|
||
|
}
|