<?php

namespace App\Domain\Website\Models;

use App\Domain\Shared\Traits\BelongsToAcademy;
use App\Domain\Shared\Traits\HasUuid;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class WebsiteFaq extends Model
{
    use BelongsToAcademy, HasUuid, SoftDeletes;

    protected $table = 'website_faqs';

    protected $fillable = [
        'academy_id',
        'question',
        'question_en',
        'answer',
        'answer_en',
        'sort_order',
        'is_published',
    ];

    protected $casts = [
        'sort_order' => 'integer',
        'is_published' => 'boolean',
    ];
}
